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...
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...
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...
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...
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...
Urial asked 27/10, 2009 at 18:42
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...
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...
1
Solved
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...
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...
7
Solved
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...
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...
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(...
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...
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...
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...
© 2022 - 2024 — McMap. All rights reserved.