Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python 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
Sheriff
Posts: 53774
128
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!