|
-
October 2nd, 2000, 03:08 PM
#1
Directory filechooser
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
-
October 3rd, 2000, 09:29 AM
#2
Re: Directory filechooser
Look here:
http://forum.java.sun.com/read/16788...jmikfUAAAvm#LR
If not what you need...search.java.sun.com is good engine, just enter chooser, maybe you'll find more hints there.
I am looking for info on how to enable the list/detail buttons in the chooser if you can help. Thanks.
-
October 3rd, 2000, 09:52 AM
#3
Re: Directory filechooser
Thanks for the help, sorry I can't help you with your problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|