swt Questions

4

Solved

I created a desktop app and I have run into a problem with my generated runnable jar. Everything works fine in the Eclipse environment, but when I generate the jar it only shows theswtcomponents (m...
Norge asked 21/12, 2012 at 12:0

5

Solved

What's the best practice for specifying flags in a Java method? I've seen SWT using int as bitfields, like: (example partially from "Effective Java, 2nd Ed." page 159): public class Text { publ...
Peon asked 20/5, 2011 at 14:26

6

I would like to validate numbers input in text box. I want the user to input only integer, decimal in the box between a maximum and minimum values. How can I make sure of this? Thank you.
Friel asked 13/3, 2012 at 6:56

2

I am developing an Eclipse RCP Application which includes JFreeChart. One of its features is to copy graphs to the clipboard in order to paste them into other applications but it does not work on L...
Harrier asked 3/10, 2012 at 11:4

2

Is there a way to specify the font size as a float/double instead of integer. I am creating my font as: Font font = new Font(shell.getDisplay(), "CormorantGaramond",14, SWT.NULL); where 14 is th...
Zed asked 3/8, 2017 at 16:56

6

Solved

On my Arch Linux, Eclipse with Google Window Builder/SWT application, I am getting Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME no...
Alcantar asked 14/3, 2012 at 2:51

3

Solved

Is it possible to use the 64bit XulRunner for Windows (available from here) with the Eclipse browser widget? It works fine under 32bit Windows and the answer to this question explains how this work...
Banda asked 21/1, 2013 at 20:59

2

is there any way to run xulrunner 3.6.28 (x86 there is no other) with swt x64? I cant use the newer xulrunner 10.4esr becouse i have some issues with it. The old one runs like a charm, but there i...
Garlan asked 4/3, 2013 at 11:13

3

Solved

I'm trying to create an SWT Browser widget of the SWT.MOZILLA type under windows 8 64Bit with SWT 4.3 64Bit. According to this, SWT 4.3 should support 64 Bit version on XULRunner 10.x or 24.x So,...
Percolation asked 27/1, 2014 at 10:22

1

Solved

following my SWT code which use Mozilla browser but it gives me an error xpcomm error 0x80004005. import java.awt.GridLayout; import java.io.File; import org.eclipse.swt.SWT; import org.eclips...
Charland asked 28/6, 2017 at 13:11

4

I need to create a context menu for a TreeViewer in an Eclipse plugin project. But, the menu should not contain constant items, they should vary depending on the type of the node that is selected. ...
Peregrination asked 1/6, 2011 at 21:12

5

I have a SWT application and it was working fine. I was using Google WindowBuilder Pro to build the application windows. Today I was trying to do some update on my application. So when I open it I ...
Satiate asked 6/5, 2012 at 22:25

5

Solved

I have a SWT table which has zero rows and 6 columns. When I right click on any one of the table header, how can I calculate the index of the table column that is clicked?
Intelligencer asked 25/6, 2013 at 5:16

6

Solved

I trying to learn swt, and I use maven for all my builds and eclipse for my IDE. When getting the swt jars out of the maven repository, I get: Exception in thread "main" java.lang.UnsatisfiedLinkE...
Valida asked 15/11, 2008 at 13:43

1

Solved

the problem that I'm facing is that when I'm changing the values of DPI in personalization->display->custom dpi to a value greater or equal with 110%, my label are not fully visibile any more. I'm ...
Calotte asked 11/11, 2013 at 6:18

4

Solved

What I want is that the user can only input decimal numbers on a Text, I don't want it to allow text input as: HELLO ABC.34 34.HEY 32.3333.123 I have been trying using VerifyListener, but it on...
George asked 6/8, 2012 at 16:6

2

Solved

In SWT, for MouseListener interface, the methods available are mouseUp(), mouseDown() and mouseDoubleClick() How to fire an event based on the user click? We can do this by conjunction of mouseU...
Youth asked 11/1, 2012 at 22:54

3

Solved

I am using JAVA SWT for the GUI of my JAVA application. Now i have set a checkbox to be disabled, but i want to show the tooltip for the same. Is this possible? My code is: myCheckbox.setSel...
Ignorant asked 23/8, 2016 at 8:39

3

Solved

Is there any way to add Text and Image in SWT label in a single line. Once I add image, text goes off.
Eichmann asked 29/5, 2012 at 6:35

3

Solved

I am developing an RCP plugin project that includes certain views.First view take employee details like name ,address etc.There is an option to upload employee image using browse button.Second vie...
Homeless asked 20/5, 2014 at 6:27

1

Solved

Button click to open FileDialog Box and selected any image to display on specific label. i try to set absolute path or relative path using selected images in Label control but not proper working d...
Degreeday asked 2/2, 2017 at 7:42

6

Solved

I have some years experience with swing and feel comfortable that I understand the architecture. Now I need to get up to speed on SWT rather quickly. What would you recommend I study from online ...
Furniture asked 15/12, 2009 at 8:40

3

I have an SWT Table that I'm instantiating with the SWT.CHECK style in order to display a check box next to every row. My users have requested another check box in the header row of the table in or...
Brahmaputra asked 19/8, 2010 at 10:44

2

Solved

I am adding a table to my main GUI. It does show up and has the data it is suppose to show. But I feel like I have a big mess of code and it is not structured correctly. I am looking for someone th...
Ever asked 4/9, 2012 at 19:18

5

Solved

Well, in short, I may need to grab new SWT version instead of 3.3 we're using for now. The project now has only this dependency and builds fine: <dependency> <groupId>org.eclipse.swt....
Marrin asked 23/2, 2011 at 19:53

© 2022 - 2024 — McMap. All rights reserved.