| Thread | Last Post | Replies |
|
| Idea for auto-validating text field, done already or not? | 28 Jun 2005 06:37 GMT | 4 |
Recently in thinking about an application I'd like to write, I realized that it would be good to have the following kind of JComponent: There's a sub-class of JPanel which contains a JTextField and a JButton. The component has a list of validators for the text field.
|
| JSpinner ChangeEvent and JOptionPane | 28 Jun 2005 00:09 GMT | 1 |
I'm using a numeric JSpinner to select stuff to display by other components in my GUI. The user may make modifications to the other components which the program validates. One scenario that triggers validation is for the user to select a different number with the spinner. If ...
|
| Synth XML file placement | 27 Jun 2005 22:20 GMT | 4 |
Anyone know where the synth XML file is supposed to be located. My app never seems to pick it up no matter where I put it. I run a *.bat file to execute my app and the main file is in a jar in the bin dir and my xml file is not in the jar, but also in the bin dir. I put the xml file
|
| JTables | 27 Jun 2005 21:15 GMT | 2 |
I am currently trying to print a multipage JTable but the the thing is on the left hand side of the JTable does not have any grid lines and i have tried to draw a rectangle around the jTable before printing it but nothing is happening.
|
| Controlling JComboBox size in JTable cell | 27 Jun 2005 21:14 GMT | 2 |
I have a JTable where each cell is huge (in purpose). One of the columns uses DefaultCellEditor with JComboBox (so when user edits value of this column, a combo-box is displayed). The problem is that this combo-box is stretched and gets huge
|
| JFrame as JApplet? | 27 Jun 2005 15:23 GMT | 5 |
I was wondering if there is any way to write an application which can be run as well as a JFrame as as a JApplet. And if so: how can I figure out which way the application has been started? Thanks in advance, Filip
|
| Updating JTree object using the class that implements TreeModelListener | 27 Jun 2005 15:23 GMT | 2 |
Hi all, I was previously updating my JTree by using the JTree.updateUI() method, but this causes exceptions to be thrown as my application is multi-threaded. Instead I'm using a custom class that implements TreeModelListener.
|
| Angled lines in JTree | 27 Jun 2005 15:16 GMT | 1 |
Running in a browser, I get angled lines only under Win2000, not XP. I use the (semi-secret) command: tree.putClientProperty( "JTree.lineStyle", "Angled" ); but it doesn't seem to matter under XP.
|
| java.lang.ArrayIndexOutOfBoundsException: 5 ArrayOutOfBound exception in BasicTabbedPaneUI.paintTabArea | 25 Jun 2005 20:49 GMT | 4 |
I sometimes get the following exception when I first bring up my GUI. Since the stack contains nothing from my code, I don't know what triggers it. Since the problem happens intermittently and is not reproducible, I am really at a loss. Any help in debugging this will be
|
| How Can we add a ListBox in a JTable Cell | 24 Jun 2005 07:33 GMT | 3 |
Hi People I am a new b to GUI development in java , I wanted to know that can we add a JList to a JTable cell. What i want to do is that in a JTable cell i want to select a item
|
| IzPack is there a quick quickstart? | 24 Jun 2005 02:15 GMT | 3 |
I need a free java installer. IzPack seems to have all the features but its very opaque The docs are 122 pages of pdf and handwavingly verbose without being
|
| Printing JTextArea & Width Question/Issue | 23 Jun 2005 20:54 GMT | 2 |
I have a question about printing components in Java, and in particular printing a JTextArea component. In the example below I am simply trying to print a single JTextArea component. As you will notice I am sizing this component to the imageable width and height of the PaperFormat
|
| Rollover in JToolbar issue | 23 Jun 2005 11:36 GMT | 2 |
Hi, on Java 1.4 versions code toolBar.setRollover(true) worked well. It hides JButtons borders, and makes them(borders) visible when mouse was over them. But on Java 1.5(currently 1.5.01) this code toolBar.setRollover(true) does
|
| Help!! Can't display ImageIcon! | 23 Jun 2005 08:54 GMT | 4 |
I have been through other posts regarding this problem. But their solutions don't fix my problem. I have tried different variations, but the basic is : ImageIcon lIcon = new ImageIcon("pic.bmp");
|
| changing color of icons in JTree? | 22 Jun 2005 16:11 GMT | 2 |
How can I change the color of the node icons in a JTree? I looked at DefaultTreeCellRenderer, but it only has methods for changing the foreground and background colors of the text or outlining the text. I couldn't find any methods that allow you to change the
|