| Thread | Last Post | Replies |
|
| JInternalFrame closing | 02 Mar 2004 06:50 GMT | 1 |
I have two classes and one problem :) The first class is my MDI window (JFrame) where I've set up a JDesktopPane. From a menu selection I add internal frames (JInternalFrame classes) to the desktop. Each internal frame has some
|
| JTable getting selected rows | 01 Mar 2004 18:05 GMT | 3 |
How do I get the indexes of the selected rows in a JTable? Using the table's ListSelectionModel and addSelectionListener I can get the selected indexes one at a time but I want to be able to get an array of all the selected indexes. Is there a method that does this? If not how can ...
|
| Drawing HTML JLabels on Graphics | 01 Mar 2004 16:03 GMT | 3 |
I'm currently successfully drawing a graph and strings onto a Graphics2D object. However, the strings contain indices, like w1(x) or TA1, where the numbers are displayed as subscipts (HTML <sub> tag). I use this sub tag for creating JLabels, so in any other GUI, the indices ...
|
| Jtextfield.getText() does not work! | 01 Mar 2004 10:19 GMT | 3 |
I want to get the text from a JTextfield when somebody enters text and presses the "Send"-Button. After that i want to do something with the text and display it in a JTextarea.
|
| Change JToggleButton selected color | 01 Mar 2004 03:24 GMT | 2 |
I would like to change the color of a selected JToggleButton (in a ButtonGroup) to red from grey. About the only solution I can find online is to put this in my main program: UIManager.put("ToggleButton.select", Color.red);
|