This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have a FileChooser with FileFilter for one task and for a second task I remove the Filter, but what I have is the last file name selected int the FileChooser which I have tried to remove when switching to the other use of the FileChooser
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
> but what I have is the last file name selected int the FileChooser which I have tried to remove when switching...
when you switch, include this line
fileChooser.setSelectedFile(new File(""));