| Thread | Last Post | Replies |
|
| Preserving the state of an applet | 08 Jul 2004 20:49 GMT | 1 |
Is there any way to preserve the state of an applet when the user navigates away from it and then returns to it via the browser's Back button?
|
| JTextArea - how to create it so it just fits the text ? | 08 Jul 2004 17:29 GMT | 12 |
I would like to create a JTextArea (without ScrollPane) with a fixed number of rows which resizes itself so that it is *just* wide enough to hold the text. I tried the following:
|
| Getting JTree to recognize node height change | 08 Jul 2004 02:19 GMT | 1 |
I have a JTree that I'm doing custom cell rendering for. I want to change the height of the selected cell. I can do this just fine in the renderer, but the tree doesn't respond by resizing.
|
| Auto generating GUI from EJB | 07 Jul 2004 19:22 GMT | 1 |
I'm looking for tool that generate GUI for me (especially in JSP) based on EJBs which I designed.Is there any? Marcin
|
| Autosrolling jpanels | 07 Jul 2004 18:26 GMT | 2 |
I have a JPanel covered with a series of editable components. As they are not all visible (some are obscured below a JScrollPane visible bounds) and the containing window is small, to view them it is necessary to scroll up or down.
|
| Thread repaint issues | 07 Jul 2004 18:15 GMT | 6 |
I have a GUI interface which performs some computation when a button is pressed. Since this compuation takes a while, I put this compuation code in a another thread, such that the GUI is not frozen. Now the problem is that the GUI is not being repainted when the spawned thread
|
| JTree DefaultMutableTreeNode | 07 Jul 2004 17:00 GMT | 2 |
I have a JTree containing DefaultMutableTreeNode objects. Each DefaultMutableTreeNode object contains a "user object", one of my objects called Bridge. It appears that when displaying the tree, the toString() method of my Bridge
|
| JTable AUTO_RESIZE and horizontal scrolling | 07 Jul 2004 14:51 GMT | 2 |
I have a JTable of which I only want to display some columns in the viewport; the other columns can be viewed via horizontal scrolling. In order to achieve that, I have set AutoResizeMode to AUTO_RESIZE_OFF because otherwise the columns are all shrunk to fit the viewport.
|
| JOptionPane / JFileChooser: how to change the font | 07 Jul 2004 13:04 GMT | 1 |
How to change the font of the displayed message with a JOptionPane.showOptionDialog(...) call ? Same thing with a JFileChooser : I create it like this JFileChooser wLoadTxt = new JFileChooser( "C:" );
|
| JTable redraw colum header after change | 07 Jul 2004 10:43 GMT | 3 |
I want change the header whan I click on the header, typicaly for show the way of the sorted column. I have my HeaderColumRenderer set on the setHeaderRenderer on the TableColumn instance.
|
| Printing HTML in JTextPane | 06 Jul 2004 15:53 GMT | 2 |
I have a JTextPane using HTMLEditorKit to display HTML content. How do I provide a function/method to print the content of it? Many Thanks.
|
| Getting the JTable row cell renderering | 06 Jul 2004 04:33 GMT | 1 |
What would be the best way to go about getting the graphic of a JTable row. I know how to draw a single cell... for example: JComponent lbl =
|
| how to place a link? | 05 Jul 2004 20:43 GMT | 11 |
I want to put a link on a swing panel - for example a label. When user clicks it, I want a browser window to be opened - like in some programs' about boxes. How can this be done?
|
| newbie: animation on sub-window? | 05 Jul 2004 17:14 GMT | 1 |
For a learning project I'm trying to write a program that reproduce sport's drills and plays. To do that I will need to move a certain number of "actors" (players and balls) around the window. To do that I thought of extending the actor class from some swing component
|
| problem loading a picture | 05 Jul 2004 09:56 GMT | 2 |
Hi, I have a problem loading an image from the disk: I use the method getImage() of the class Toolkit. Then I use Graphics.drawImage() to print it on the screen. My program tries to display the picture just when it starts, with a call in the method paint(). But the first time ...
|