| Thread | Last Post | Replies |
|
| Adding Icon to a JLabel | 28 May 2004 21:40 GMT | 2 |
I'm new to Java GUI and I'm trying to add an icon to an object that extends a JLabel. I have the following code, but the icon doesn't appear, I was wondering what my problem would be (paintIcon()?) Thanks.
|
| Tree model | 28 May 2004 10:33 GMT | 2 |
I am trying to understand exactly how the Tree Model (of JTree) works. I have read http://java.sun.com/products/jfc/tsc/articles/jtree/, but I would really appreciate it if there are other sources that you would like to suggest/share.
|
| imageicon on jbutton | 28 May 2004 09:23 GMT | 1 |
i like to create a jbutton with an imageicon on it. so i write JButton button = new JButton(new ImageIcon("icon.gif"). well, the icon is never been displayed. so i guess, the applet 'looks' in the wrong directory for the icon. because using an absolute path works fine.
|
| open up in new tab | 28 May 2004 07:40 GMT | 5 |
What I'm trying to do is basically make a simple text editor just like Notepad, but instead I want to be able to open up numerous files at the same time. To do this I figured I'd use Tabs (JTabbedPane). OK, I can programm pretty much everything that Notepad does but what I can ...
|
| Disabling redraw in JscrollPane/JTextPane | 28 May 2004 06:02 GMT | 4 |
Is there an easy way to disable all the components of JScrollPane/JTextPane from redrawing while updates are being made to the document and then scrollbar? If extending each one is necessary, is there a single function in each
|
| Thinlet Mailinglist Now Live - Join The Thinlet Community | 27 May 2004 23:26 GMT | 1 |
to help the Thinlet community grow I've kicked off a new mailinglist over at Yahoo! Groups chartered for questions, tips & tricks, announcements and more about the Thinlet XUL Toolkit. To get the Thinlet mailinglist off the ground I've posted a couple
|
| customizing JTree leaf nodes | 27 May 2004 17:01 GMT | 3 |
Could anyone provided me with examples or links/info on where I can find information on customizing JTree leaf nodes, such that some leaf nodes could have a combo box or a text field *next* to them. Eg:
|
| define size and style of graphics | 27 May 2004 11:12 GMT | 1 |
how can the size or the style of the graphic-object be changed? i'm looking for a possibility to draw rectangles with thick dashed lines... but the Graphics-class doesn't offer the needed methods, or does it??
|
| How to remove JFileChooser selections? | 26 May 2004 20:10 GMT | 2 |
I have one instance of a JFileChooser. If I select a file using the JFileChooser then cancel the operation, the same file is shown as selected the next time the JFileChooser is displayed. This happens despite having reset the selected file(s) before the second display.
|
| JTable, custom components and event handling | 26 May 2004 18:57 GMT | 4 |
I have a JTable in which one of the columns will be custom component which is a subclass of JPanel. This custom component can handle mouse events. I implemented a TableCellRenderer and the final table shows my custom
|
| Moving between JTextPanes with TAB key? | 26 May 2004 17:01 GMT | 2 |
I have a panel in which I placed 4 JTextPanes. I want to move cursor with TAB key between JTextPanes but when I pressed TAB it inserts TAB char. How could I achieve to move between JTextPanes with TAB key?
|
| Question about JInternalFrame and MouseMotionListener | 26 May 2004 13:47 GMT | 1 |
Hi, I've got a JInternalFrame containing several swing components : 2 JTabbedPane, a JToolBar and a panel with a ButtonGroup. I've added a MouseMotionListener to the JInternalFrame.
|
| export to jpg | 26 May 2004 13:08 GMT | 6 |
i try to export the drawings a jpanel to a jpg-image. well, i'm not smart enough... can anybody tell me, where i make the mistake? tx for your time! private void ExportImage(){
|
| java:143: cannot find symbol | 26 May 2004 09:55 GMT | 2 |
I have a problem that about Extend and Inheritance,The following variable can not be found (textServername) when the variable in "ButtonListener Class" what is my wrong?, please help me .......thx a lot! Danny
|
| JInternalFrames Focus Question | 25 May 2004 23:24 GMT | 1 |
I have a program which uses a number of JInternalFrames. For example, let's say that there are two of them side by side, called "left" and "right." If "left" has the focus, and there is a button in the middle of "right" that you want to click, you can't just click the button
|