| Thread | Last Post | Replies |
|
| SWT on Linux (GTK) | 23 Sep 2003 21:27 GMT | 2 |
I wrote a Java program that uses Eclipse's SWT gui-library. The program runs fine on Windows after I put the SWT-dll into the working directory of my program. But I do not know how to make the program run on Linux (GTK). The program compiles fine but I get the following exception ...
|
| How to check fields in a frame.. | 23 Sep 2003 18:01 GMT | 3 |
We are converting a project from MFC to java. In the MFC project we had a way of checking the validity of the contents in a field (eg a text field). If the contents of a field was invalid (eg -1 if only positive nulbers allowed), the focus would be retained.
|
| event to cause Choice menu to open | 23 Sep 2003 16:55 GMT | 1 |
I want to see if anyone knows how to make a Choice menu to open by triggering an event, eg, ActionEvent, MouseEvent...
|
| javadoc wizard | 22 Sep 2003 21:11 GMT | 2 |
Just been having a play with the javadoc wizard in JBuilder 6. I'm very confused. It only seems to generate documents within packages - the index.html file does not allow me to display any html files which are in the root directory of the project (ie not in a package). Surely, if ...
|
| JScrollPane and FlowLayout | 22 Sep 2003 16:52 GMT | 1 |
I have a JTabbedPane containing a JPanel containing a JScrollPane which contains a JTextPane. If I add the JScrollPane to the JPanel using BorderLayout (Center position) it covers the entire JPanel. When I load a new document into
|
| JTextField non-editable background | 22 Sep 2003 16:05 GMT | 6 |
In Metal L&F if I call JTextField.setEditable(false), the background color is set to gray. In Windows L&F there is no change
|
| Problems deleting cards with java.awt.CardLayout | 22 Sep 2003 16:03 GMT | 4 |
I am building a GUI that uses CardLayout to show multiple listings of data with embedded Textfields and such. Each dataset gets a card. I create an initial set of cards using the java.awt.Container add method. This GUI also has
|
| Problem with JComboBox in j2sdk 1.4.2_01 | 22 Sep 2003 10:06 GMT | 2 |
I've got a JComboBox, and I want to change its background color. I use this code: BasicComboBoxEditor editor = (BasicComboBoxEditor)myJComboBox.getEditor(); editor.getEditorComponent().setBackground(SystemColor.control); This code works with versions 1.3.1 and 1.4.1, but with ...
|
| tool tip background color for a cell renderer | 21 Sep 2003 18:05 GMT | 7 |
I have a table cell renderer that ultimately boils down to a JLabel and I would like to be able to set the background color of the tool tip to somehthing other that bright yellow. The only methods available to me appear to be setToolTipText() and createToolTip. I
|
| Problem when add a JPanel to a JLayeredPane | 21 Sep 2003 05:21 GMT | 1 |
I'm trying to add a JPanel to a JLayeredPane, but it unfortunately never appears... However when I add a JLabel to this layered pane, it works fine... Could anyone tell me which properties shall I set to this JPanel, so
|
| Window Look and Feel | 21 Sep 2003 05:02 GMT | 3 |
I have the following program I am working on and would like to know how to make both windows look the same. When I run the program from a DOS screen (ie. />java NullClient) the main window has the look and feel of a DOS window but the login window has the look and feel of
|
| HELP: NetBeans bug on Windows ME | 19 Sep 2003 22:15 GMT | 2 |
Hello, everybody! I have installed NetBeans 3.5.1 on Windows ME and there seems to be a bug with menus, since when I move the mouse pointer from a menu item to another, only the previous menu item is hightlighted.
|
| re; Is there a way to center text in a combo box? | 19 Sep 2003 18:35 GMT | 2 |
Hi; Is there any way to center text in the text field of a combo box, so is it always going to be left justified? I've checked the APIs but could find nothing helpful there. TIA,
|
| JOptionPane.showOptionDialog | 19 Sep 2003 18:28 GMT | 1 |
Hey java-gui-experts, I have the following problem: I show my own JPanel with the help of JOptionPane.showOptionDialog. In the JPanel there are three JTextFields. One of them I want to give the focus after showing the JPanel. But I
|
| Macro for gui | 19 Sep 2003 17:14 GMT | 2 |
Hi, I'm using a program for running simulations with neural networks called JavaNNS on MacOS X. The kernel is written in C, but the GUI is in Java. As you have to repeat some actions over and over (including saving results),
|