| Thread | Last Post | Replies |
|
| invoking Java applet from HTML <img> | 08 Nov 2006 15:38 GMT | 4 |
I would like to start a Java program when the user clicks on an HTML <img src="file.jpg" .../> image. I have been told I first need to interpret, say with JavaScript. I am not real good with JavaScript but will do so if I must.
|
| AWT2SWT Fonts | 08 Nov 2006 09:41 GMT | 3 |
I just have to translate an old Swing application to SWT/JFace... Everything seemed just fine ... but then I ran into something like: Font ttfBase = Font.createFont(Font.TRUETYPE_FONT, new FileInputStream("myfont.ttf"));
|
| editing a jtextarea | 08 Nov 2006 04:40 GMT | 6 |
Why is it I can set a JTextField to be greyed out by calling setEditable(false) and it turns grey and can't be edited but if I do the same thing with a JTextArea the only effect is that it can't be edited (meaning it doesn't change colors)? How can I also get it to change
|
| No keyboard input in JApplet | 07 Nov 2006 22:26 GMT | 2 |
I have observed a consistent problem with applets not accepting keyboard input. This manifests itself when I put a JTextArea into a JInternalFrame in an applet. The applet will work perfectly with appletviewer, but when it is brought up in any of the Mozilla-based
|
| SwingWorker, Swing and threads | 07 Nov 2006 16:47 GMT | 2 |
In my program it is necessary to recieve data from server. The data needs to be written in a JTextArea component, but my GUI must not freeze while recieving data from server and writing it in JTextArea. So I need to use threads, or SwingWorker. I saw many instances of SwingWorker ...
|
| Memory leak using java.awt.Choice | 07 Nov 2006 15:50 GMT | 2 |
calling remove(Component foo) of a Container class usually releases all references to foo used by awt internally, and when I delete all my local references to that Component, it will be garbage collected once the garbage collector is invoked.
|
| combined keystrokes | 07 Nov 2006 07:27 GMT | 1 |
I would like to know if it is possible to handle keystrokes like 'ctrl-x' + 's' (as in emacs) using standard KeyStroke.getKeyStroke methods? Or do I have to override default eventhandling on some lower level? Just curious to know if it can be done the easier way.
|
| compile errors for Game The main program is giving me errors projectJS.java | 06 Nov 2006 18:28 GMT | 4 |
Hello again. I've only included two of the 13 programs for this game. The main program projectJS.java is giving me compile errors and the other program containing private BoardPanel boardPanel;
|
| GridBagLayout problem in jdk1.5_0_09 | 06 Nov 2006 10:35 GMT | 6 |
I have added JTextAreas on JPanel . JPanel is added on JScrollpane whose horizontal policies are never. this code shows full panel in jdk1.3 but in 1.5 it only shows half of the textareas why is this happening?
|
| I'm needing help with compile errors for GUI enviroment GameOfWar | 04 Nov 2006 23:33 GMT | 6 |
>Hi i'm needing some help with compile errors for Gui enviroment GameOfWar >This program was allowed by our instructor to be copied out of the book >exactly as it was written except i changed the the name from game of >war to projectJS |
| Any easy way to show a JList in reverse order? | 04 Nov 2006 14:06 GMT | 2 |
Beg pardon the "stoopid" question, but is there any easy way to "reverse" the displayed order of items in a JList? I've got a JList that gets its data from a DefaultListModel and the first
|
| jfilechooser | 03 Nov 2006 23:09 GMT | 1 |
Hi, i would like to get help on this i have a JFileChooser... "fc" i am doing showOpenDialog(WHATEVER); WHATEVER: i have tried many things... what Component could be? but i always get this message:
|
| SWT option not visible in Visual Editor (eclipse) | 03 Nov 2006 12:18 GMT | 2 |
I'm trying to use the Visual Editor in Eclipse to design some SWT gui. The problem is that I don't have the option SWT in the VE menu. The Swing and AWT components are working fine. I have installed the latest version of the VE project and as I said, it
|
| Minimizing a SWT Application in the Sytem Tray (Dock) on the Mac OS X | 02 Nov 2006 22:50 GMT | 1 |
Can an application written in Java & SWT can be minimized in the notification area (Sytem Tray) like MSN Instant Messenger or E-mule ? Apparently it's possible for Windows : http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/systemtray/ index.html
|
| Problem in displaying message while uploading file. | 02 Nov 2006 22:20 GMT | 2 |
I'm developing an application in which i'm parsing a csv file and uploading into a database. when i parse , i store the elements in an arraylist of bean. and then i pass that array list to upload onto database. But it takes huge amount of time, so i decided to display a
|