Hi,
I don't know if this is a bug or not in the JDK 1.3 JFileChooser, but I
have problems with its two methods: getSelectedFile() and setSelectedFile().
What I want to do is to dynamically set the name of the file in the TextField of
the FileChooser's SAVE dialog.What I did was to register the JFileChooser with a
PropertyChangeEvent (SELECTED_FILE_CHANGED) and call setSelectedFile() based on
what the user typed in the TextField. It seems that
JFileChooser.getSelectedFile() method never returns what is typed in the
TextField. It returns the text in the TextField only when the 'SAVE' button is
clicked.
Maybe some one can help me on this. Thank you in advance.
Thanks,
Pradeep
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing