Gremlin
October 2nd, 2000, 03:08 PM
Hi,
I'm trying to write a filechooser that will let the user select a directory. I'm using DIRECTORIES_ONLY but the problem is that if a directory is highlighted and then selected the JFileChooser opens that directory instead of closing and passing the path to my string variable.
Does anyone know what I'm doing wrong?
Thanks in advance
I'm trying to write a filechooser that will let the user select a directory. I'm using DIRECTORIES_ONLY but the problem is that if a directory is highlighted and then selected the JFileChooser opens that directory instead of closing and passing the path to my string variable.
Does anyone know what I'm doing wrong?
Thanks in advance