Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in jfileopen dialog box  RSS feed

 
Darshan Kapadia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a similar control or an option in the jfileopen dialog box by which you can select an entire folder?? thanks in advance....
 
Campbell Ritchie
Marshal
Posts: 55793
164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's jfileopen? Do you mean JFileChooser? It has fields for FILES_ONLY and DIRECTORIES_ONLY, so you probably can open a directory as well as a single file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!