| Thread | Last Post | Replies |
|
| Using firePropertyChange | 10 May 2005 00:18 GMT | 2 |
If I have x number of properties, all of which have public getters and setters methods, is it a good idea to have a firePropertyChange(fieldName, oldValue, newValue) method inside those individual setters?
|
| Swing Model Classes Updating Swing Components on a Thread Other Than AWT | 09 May 2005 22:10 GMT | 5 |
Having built several Java swing applications in the past, I am well aware of the potential for problems if you update a Swing component on a thread other than the AWT thread. Knowing this, I have been careful to use Runnable + SwingUtilities.invokeLater (or
|
| JFileChooser - Grey out files, allow only DIRs to be selected... | 09 May 2005 20:58 GMT | 5 |
JFileChooser - Display Dirs and Files Greyed out and allow only Dirs to be Picked Would like to be able to use JFileChooser to select only Dirs, but still show the files greyed out.
|
| Accessing BasicInternalFrameTitlePane.CloseAction | 09 May 2005 14:45 GMT | 1 |
Is it possible to access the BasicInternalFrameTitlePane.CloseAction and other actions without subclassing. I have a corresponding JButton that when right click should show the popupmenu associated with the JInternalFrame's default 'system' popupmenu.
|
| Bringing Menus to front | 07 May 2005 20:02 GMT | 4 |
I'm using JAVA SDK 1.4. I've a problem with MenuBar in a JFrame. The frame's layout is BorderLayout and a has a JLabel in the SOUTH and JPanel in the CENTER.
|
| Please recommend a book for a Java beginner. | 07 May 2005 19:29 GMT | 19 |
I am new to Java but not new to programming. What in your opinion is the best first book for Java? I'd like something that has a good section on creating Windows, Applets and Swing. Source code on a CD or website for all examples would help. Thanks.
|
| Question on copying custom data to the system clipboard | 07 May 2005 14:02 GMT | 1 |
I have a Windows application that accepts a certain custom clipboard format. I have a Java application that needs to be able to place data of that format on the clipboard. The Windows clipboard format number is 49156 and the name of this format is "Native." I've been able to go
|
| Problem with RadioButtons.. | 07 May 2005 12:20 GMT | 2 |
Hello I have created a simple java applet which is supposed to present 4 radio buttons that do nothing at all. here's the code : import java.awt.*;
|
| JScrollPane and JTextArea | 06 May 2005 21:45 GMT | 5 |
I have a JTextArea within a JScrollpane, and this outputs a constant log from my program. However the default action seems to be to constantly view the top of the log, wheras I whish to look at the bottom of the log, as this is where I
|
| Class with the best coding style in javax.swing | 06 May 2005 19:50 GMT | 1 |
I am trying to learn the proper gui coding style. Does anyone know which class in the javax.swing package has the best coding style? Some classes separate the constants into an interface but some don't. Some do this and some do that, etc. Hence, I'm confused as to which
|
| JFrame return value | 06 May 2005 17:40 GMT | 5 |
i have a gui application that instantiates a JFrame from another JFrame and i want to be able to send some kind of return value back to the original JFrame indicating what was done in the new JFrame. for instance, the original JFrame connects to a server and displays
|
| Jtable custom cell editor focus issue | 06 May 2005 02:32 GMT | 1 |
I have a need for a custom cell editor that consists of a text field and an adjacent button. So I created one out of a jpanel with a JTextField and a JButton in it. When the JButton is clicked it fires an event that I can catch.
|
| Animating auto hide of JPanel inside a JFrame | 05 May 2005 22:15 GMT | 3 |
I have a JPanel inside a JFrame which I would like to "auto-hide", a feature similar to the task bar. The following is a sample code which is suppose to auto hide the JPanel when the mouse enters it.
|
| JFormattedTextField for IP Address | 04 May 2005 16:29 GMT | 1 |
I am wanting to input an IP Address (xxx.xxx.xxx.xxx) in a JFormattedTextField. We have tried using a MaskFormatter, but if the address does not have 3 digits in each field it is rejected. I am fairly new to Java, so suggestions on a better approach to performing this task would be
|
| Multiline tool tips | 04 May 2005 08:41 GMT | 5 |
How can I get a tool tip spanning multiple lines? Can I use HTML in tool tips? Thanks in advance.
|