swt Questions

1

Solved

Display.getActiveShell() seems to only consider a Shell as active if it's focused. If at the moment another application has focus that means Display.getActiveShell() returns null. I need a method...
Recuperator asked 14/5, 2013 at 11:32

2

Solved

I have a desktop based UI application written in Java SWT running on windows. I want to add a button on the UI screen whose behaviour should be similar to the badges on an iphone or facebook notifi...
Dorran asked 6/3, 2015 at 6:32

3

I'm developing a fairly complex Java application mixing Swing and SWT. Whenever I start the application, this is the console output (and the app doesn't show up): 2012-12-19 12:45:45.359 java[3442...
Inamorato asked 19/12, 2012 at 11:53

7

This is a follow-up to the issue SDK manager does not find java but the issue at hand now is the SDK/android.bat does not locate the SWT file. I'm running Windows 7 x64, my file locations are as...
Mcneese asked 23/3, 2011 at 20:29

1

I want to embed my SWT browser in swing jframe. I try sample, but it need to resize the window to load browser window. what can I do to repaint the canvas, with out resizing?
Teazel asked 16/7, 2014 at 13:46

2

Solved

After much looking, I found a bit of code that converts a BufferedImage to a SWT Image (don't bother reading it yet): public static ImageData convertToSWT(BufferedImage bufferedImage) { if (buffe...
Pup asked 27/6, 2011 at 20:20

3

Solved

I have inherited development of a Java/SWT application running on Windows only. One of the feature requests that I need to scope is a Google-chrome-type title bar in place of the SWT windows titl...

1

I am developing a small application with SWT Browser widget. I am highlighting a search text word with <a id="xyz" href=''><mark>test</mark></a> in a HTML document. and r...
Rhizome asked 26/9, 2014 at 6:20

1

I added java doc location for the SWT (org.eclipse.swt.gtk.linux.x86_64_3.102.1.v20140206-1358.jar) as "http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/" but after...
Fecit asked 21/8, 2014 at 17:38

6

Solved

My application throws the exception below. Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SW T libraries on 64-bit JVM. How to solve this? What is the name of...
Tamasha asked 27/5, 2010 at 12:48

1

Solved

I have a Composite(container) which is inside another composite(Dialog area). The container contains some UI elements. How can I either make the size of the dialog bigger or make it resizeable. Her...
Pollster asked 31/10, 2014 at 11:2

1

Solved

I have a checkbox button based on which I want to set a variable as true or false. But I don't know how to handle the event. Here's my code: Boolean check = false; Button checkBox = new Button(com...
Attitudinarian asked 30/10, 2014 at 14:59

18

Solved

I am writing an application in Java for the desktop using the Eclipse SWT library for GUI rendering. I think SWT helps Java get over the biggest hurdle for acceptance on the desktop: namely providi...
Causerie asked 11/8, 2008 at 12:37

4

Does anyone know where I can download the javadoc files for Swt and/or JFace? I do not want the api docs for the rest of Eclipse. I found a place where the docs are available for reading online bu...
Smuggle asked 13/9, 2010 at 13:19

7

Solved

I'm a newbie to Eclipse and can't figure out how to get the JavaDocs for SWT and JFace to show up when I am editing. How do I do this? Thanks!
Boyse asked 19/2, 2009 at 19:52

4

We are using a the following class to show a progress-bar in our Java application: TextProgressBar Unfortunately we are having some problems with flickering when using that (Win 7, Java 7). Do you...
Impartial asked 24/5, 2013 at 9:26

4

Solved

I have a SWT Text component, for which I set SWT.MULTI, SWT.V_SCROLL and SWT.H_SCROLL to show the scrollbar when required. I found that even content is smaller than the text component then also scr...
Ardennes asked 17/12, 2011 at 19:40

1

Solved

Is there any way to make labels selectable in SWT? or are there any other widgets in SWT that are selectable and can be used as labels? I am building a calendar.
Forwhy asked 5/8, 2014 at 8:28

3

Solved

I am almost done with one Java project that I have been developing on Linux. Now I need to build and test it on Windows. So I have installed Eclipse on Windows XP 32-bit, and imported my project. A...
Dace asked 19/12, 2012 at 22:14

3

Solved

I've been experiencing with SWT (GUI lib Eclipse uses) and I'm wanting to create the following using Swing. The previous screenshot is done by the following code using SWT public static void main(...
Stockman asked 18/7, 2014 at 1:9

4

Solved

Is it possible to add a Remove button to a cell in a table? I have a table with 5 columns, I would like to add a 6th column. I want the 6th column to have a remove button in each row. Example Row...
Circumstantiality asked 18/9, 2012 at 15:41

2

Solved

I know this sounds like a very basic question, and I feel embarrassed to ask it but... How to I add a Mouse Click handler to an SWT button? What I checked: I can find tons of examples on how to...
Devise asked 14/7, 2014 at 14:12

1

ScrolledForm's scrollBar can sometimes cause problems.I meet the same problem with this guy in EclipseZone Forum (it's a question asked in 2005 but seems to be unresolved). //The scrollbar should ...
Minier asked 5/7, 2013 at 9:20

1

Solved

I want to create an installer, which downloads files from a URL which is going to be a default value if the Text is blank, and the "hint" will be Insert your specific URL And I'm wondering ho...
Lysander asked 6/7, 2014 at 18:35

3

Solved

If you create a Slider (org.eclipse.swt.widgets.Slider) then call getMaximum() on it, the value is 100. But when you actually try dragging the Slider to its maximum value, it only reaches 90. I c...
Etalon asked 15/12, 2012 at 11:57

© 2022 - 2024 — McMap. All rights reserved.