• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hi

 
Divya Venkatesh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am designing an Image Editor to work on some image manupalation techniques.
I want my application to allow the user to browse files in his directory and open up a file of his choice.
Is there any class which enables us to browse the directories.?
thanks a lot.
 
Shashi Kanta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Divya,
Use the class FileDialog which is there in the awt package.
Thats all !
Shashi
 
Vijayakumar Arya
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Divya,
You can go for swings that are very cool to use. Try javax.swing.JFileChooser, instead of AWT.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!