Reusing JFileChooser instances

From: Mike Conmackie (
Date: 12/28/03

Date: 27 Dec 2003 17:19:50 -0800

I am trying to serially reuse a single instance of JfileChooser but
the second and subsequent uses of the instance continue returning the
selected item from the first use (via getSelectedFile() ). I have
tried using setSelectedFile(null) to no avail. Can anyone tell me how
to reset the selection state? Thanks.