| Thread | Last Post | Replies |
|
| right aligning tab names | 03 Jan 2004 20:54 GMT | 5 |
I have a JTabbedPane and add tabs using a vertical tab placement policy [e.g., jtabpane.setTabPlacement(SwingConstants.RIGHT);] Unfortunately, as I add tabs (e.g., jtabpane.addTab(tabName, component)), it centers the tab name in the middle of tab. I'd like to control this and
|
| Formatting JTextFields | 03 Jan 2004 14:06 GMT | 5 |
I had this some time ago, but I didn't have the time. What is the best way to accomplish allowing only certain characters to be entered in a text field? I remember having read about something subclassing Document, the text
|
| Dropping in an empty table | 03 Jan 2004 13:55 GMT | 1 |
It isn't critical for me, but nice to have. I noticed that if I have empty table, no records in it, then I can't drop items in it if I drag something over header, or empty body. As only a record added in the table, I can drop in it. Is there a simple way to be able to drop on
|
| Resize JTable row height? | 03 Jan 2004 04:44 GMT | 2 |
Friends, I'm looking for a way to change the ROW height of a JTable / Model I don't need a renderer to do this do I? Thanks for any help.
|
| icon library | 02 Jan 2004 22:41 GMT | 8 |
I've developing a GUI application in Java and would like to attach some standard icons next to my buttons (File, Save, Open, Cancel, Delete, etc.) Where is the best place to go on the web for a decent icon library?
|
| Poll: What is Your XUL Motor of the Year 2003? | 02 Jan 2004 18:54 GMT | 1 |
The Richmond Post announced the nominations for the "XUL Motor of the Year 2003" award today. The line-up includes: * Mozilla XUL
|
| Accessing the associated dataModel when a particular frame is selected | 02 Jan 2004 09:34 GMT | 4 |
I have JDesktop containing one or more JInternalFrames. Each of these frames contains a JScrollPane which in turn contains a JTable, each with its own tableModel. I wish to add a row to the table in the currently selected frame. How do I recover the tableModel to do this?
|
| Swing and awt help needed!!! | 01 Jan 2004 23:02 GMT | 2 |
I am having difficulty creating a user interface. There is a problem with code below in that when it is compiled and run the CardLayout panel is empty due to the face that the only card described is empty (I think). I know that I am using a combination of Swing and awt.
|
| button columns | 01 Jan 2004 19:17 GMT | 2 |
I"m trying to create a column of buttons that have equal width and with each button having preferred height. Below is an example I modified slightly from a 1999 comp.lang.java.programmer post. I could use JComponent.setMaximumSize on each button, but that seems like too much work
|
| JList cell rendering very slow | 01 Jan 2004 18:17 GMT | 1 |
I'm building a component with a JList that lists the JPG files in a directory as thumbnails. The problem is that I have to resize them and this is very slow, cpu and memory consuming. This is the code for the listcellrenderer I'm using:
|
| MVC and Swing | 01 Jan 2004 00:42 GMT | 2 |
I am developping a small swing app with database connection, where you can add- remove records and the usual stuff. I got 2 classees : one controller and human-interface (actually, she holds the frame, buttons ...) -> HIM
|