| Thread | Last Post | Replies |
|
| How to get the actual component rendered in the JTable Cell ? | 31 Jul 2009 13:16 GMT | 4 |
I have a custom cell render for a JTable. I create for each cell a JPanel that contains a JLabel and a JButton. Question is, How can I get the actual rendered component object (the JPanel) of a cell for a given row and column index.
|
| Slight SwingWorker Update problem | 31 Jul 2009 09:17 GMT | 2 |
I've recieved help from a number of people regarding the development of this app, and for this I am grateful. I've learned loads about Java GUI from this project. I'm at a stage now, where I'm using SwingWorker to control GUI
|
| BoxLayout not behaving | 28 Jul 2009 10:29 GMT | 5 |
I'm trying to use BoxLayout for something as I have 1000 times before, but this time I want all the components pressed together at the top of the box. I've tried adding glue to the bottom of the box, but this didn't really work.
|
| Adding a toolbar, stoped JPanel animation | 27 Jul 2009 14:51 GMT | 1 |
I got some advice a few days ago, which solved a dissapearing menubar problem. But in implementing the solution the original JPanel animation no longer works. It should start as soon as the toolbar is created (see main), but the panel remains blank. I've tried using
|
| Petri Net Simulator Renew Help! | 27 Jul 2009 12:19 GMT | 1 |
Dear Sir, As I can see many researchers have successfully used RENEW as an OO Petri nets simulator. I'm trying to simulate my java program with Renew 2.1 in my linux
|
| Dissapearing menu bar | 26 Jul 2009 17:16 GMT | 1 |
I've cobbled together some code using NetBeans 6.1. A reduced version of the code is below. When I run it, it sometimes shoes the menu bar and sometimes doesn't. Any idea why? I'm also having some difficulty with action listened, but I'll deal with that later.
|
| what free shareware GUI can I use on the Windows environment? | 24 Jul 2009 20:12 GMT | 7 |
I've been writing some C codes using gcc in the UNIX environment and have no experience on the Windows environment. I figure I can still write with gcc in Windows. But I'm not familiar with GUI in Windows. I would like to use a free shareware GUI for Windows that will allow
|
| Update JTextArea | 24 Jul 2009 19:55 GMT | 2 |
I've made an application that stores data from textfiles in a database. This with for-loops in which I use the append-function of the textarea to keep track of the progress. The problem is that the JTextArea gets updated at the end of the loops.
|
| Items in JTree have different size - what's going on ? | 23 Jul 2009 10:03 GMT | 6 |
I've a problem with items layout in JTree. Here is a simple code which adds a lot of identical items to tree: for (....) { DefaultMutableTreeNode childNode = new DefaultMutableTreeNode
|
| sleep causing the app to hang | 23 Jul 2009 09:52 GMT | 3 |
I'm trying to use sleep( 1000 ) to time some GUI outputs: for (int iDepthCtr = 1 ; iDepthCtr <= 10 ; iDepthCtr++) { try
|
| How to perform button action in a table cell render | 22 Jul 2009 10:40 GMT | 1 |
In my JTable I made a custom cell Render that displays a JLabel and a JButton in a cell. And I have a cell Editor that displays a JTextField to change the text value of the JLabel.
|
| JSlider and JSpinner | 19 Jul 2009 22:17 GMT | 6 |
Can somebody help me to eliminate the error in the connection of JSlider with JSpinner please? Changes from slider to spinner work. Changes from spninner to slider don't work, if I use the arrow keys.
|
| Changing color of scroll button arrow | 10 Jul 2009 14:02 GMT | 1 |
I have a JTabbedPane for which I've set the SCROLL_TAB_LAYOUT so I get a scroll button when the number of tabs exceeds the space they are laid out in. It seems the arrows default buttons are kind of a washed out grey however, which makes them appear disabled, even though they
|
| Destructor for Components | 08 Jul 2009 11:01 GMT | 4 |
I have a multi window application where the GUI components registering as listeners to a global data source. In case a window is closing, all components inside of this window have to deregister. Is there a easy way for a component (an event??) to figure out, that it window has
|
| Possible to have JList navigation keystrokes while JTextField has focus. | 07 Jul 2009 23:31 GMT | 3 |
I have a JTextField which the user can enter data, and this affects the state of a JList. I'd like the user to be able to type in the JTextField, but then press the up-arrow or down-arrow to adjust the current selection.
|