| Thread | Last Post | Replies |
|
| newbie | 23 Nov 2004 15:13 GMT | 10 |
i want to write a program that reads an integer between 0 and 1000 and summarizes all the digits in the integer. For example, if an integer is 932, the sum of all the digita is 14. Does anyone knows how to do this?
|
| Layout performances | 23 Nov 2004 01:32 GMT | 12 |
I am experiencing poor performances with my app, where I make use of several GridBagLayout, and I suspect the problem come from there. basically, I have around 20 instances of a JDialog object, each with around 20 or 30 small components (JButtons, JLabels, JSpinner,
|
| What determines if a JLabel shows ellipsis? | 23 Nov 2004 01:32 GMT | 1 |
Does anyone know what causes a JLabel to show: + ellipsis? + all-or-nothing? + multi-line?
|
| GUI component: what's this called? | 22 Nov 2004 21:44 GMT | 6 |
I've seen this GUI component for many years, even on the old Apple's. What's it called??? It looks like this: Listbox 1: Listbox 2:
|
| Make a frame not register with the OS | 22 Nov 2004 17:24 GMT | 6 |
First a little example: In Adobe Photoshop on Win2k, you have a main window with all images in it, and several small side windows with the tool options in them. These tool windows behave a bit like JInternalFrames. Unlike JInternalFrame they can also be displayed outside the main ...
|
| Thread-question | 22 Nov 2004 15:32 GMT | 27 |
when closing my program I would like to start a Thread which does some cleaning up in the background, but opf course before exiting I need to be sure, that this Thread has finished running... How can I wait for that Thread to finish, the following code does work,
|
| Uncaught exceptions in JButton action listener | 22 Nov 2004 14:55 GMT | 4 |
Why do uncaught exceptions in a JButton action listener not cause the same behaviour as uncaught exceptions in a console application? For example, consider the following console application: public static void main( String[] args )
|
| how to response to user's mouse click on JTabbedPane's tabTitle? | 22 Nov 2004 10:28 GMT | 1 |
example like when there are 10 tabs inside the JTabbedPane, when user click on tab 1, I want it to display the particular tab's title into JTextField. I try add mouse listener into JTabbedPane but no response when user click on that tab. (nothing display in JTextfield).
|
| Producer / Consumer problems | 22 Nov 2004 08:13 GMT | 1 |
I'm getting an IllegalMonitorStateException in trying to implement the above subject. The static declararions made it work, so if this is part of the problem let me know. I think it has something to do with the synchronization. I think I'm accessing the bin when I'm not
|
| javax.swing.text.HTMLDocument getIterator returns null for some Tags | 22 Nov 2004 08:09 GMT | 2 |
I have encountered a problem which is reported multiple times in this discussion group, and over in .programmer as well. That is that HTMLDocument.getIterator mysteriously returns a null value for some tag types, while working, equally mysteriously, for other tag types. In all
|
| under what condition "setViewPosition" may not work? | 22 Nov 2004 01:13 GMT | 3 |
Hello guys, I have a rather strange question about setViewPosition (in JScrollPane), it seems not working sometimes under certain conditions, but I can not find out the reason. My program is doing something like:
|
| Navigation around different JFrames | 20 Nov 2004 18:12 GMT | 11 |
Hi :) I need to navigate around different JFrames. I´ve got: class MainView extends JFrame
|
| JTable column headers at the bottom? | 20 Nov 2004 17:15 GMT | 2 |
Is there any way to get a JTable to display its column headers along the bottom of the table rather than the top? Thanks, Sandeep
|
| Get Title for HTMLDocument in JEditorPane | 20 Nov 2004 08:06 GMT | 4 |
I am using HTML web pages for the help on my application. I would like to have the title displayed on the frame where I am showing the web pages to reflect the contents of the <TITLE> tag in the web page. I tried Document.getProperty(Document.TitleProperty) but that returns null.
|
| Adding global keys to application | 20 Nov 2004 05:48 GMT | 2 |
here is problem I want to add global keylistener to my application. For example when I press F1 some f1 action is executed, for F2 f2 action is executed, etc.... What I found that this method addKeyListener from Component class works
|