• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select directory dialog

 
Manuel Corrales
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know there is an Open or Save dialog.

Is there a way of get a dialog for selecting a directory??
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manuel

Try this code,
------------------
fileChooser.setCurrentDirectory(new File("C:\\tools"));
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic