Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to open a browse a folder dialog box

843785Jan 23 2009 — edited Jan 23 2009
Hi,

Please tell me,

how to open a 'browse a folder' dialog box in java SE. I dont need showopenDialog or showSaveDialog methods.

User have to be prompted to select a folder(not a file), and clicks on 'OK'. That path have to come in a text field.

In my program user has to give a folder path....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2009
Added on Jan 23 2009
4 comments
132 views