aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Setting a path in JFileChooser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Setting a path in JFileChooser" Watch "Setting a path in JFileChooser" New topic
Author

Setting a path in JFileChooser

Avishek Singh
Greenhorn

Joined: Jul 12, 2006
Posts: 3
How do i set a path through JFileChooser, so that next time i open JFileChooser i have that path as my default path?
Martin Simons
Ranch Hand

Joined: Mar 02, 2006
Posts: 196
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFileChooser.html#setCurrentDirectory
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting a path in JFileChooser
 
Similar Threads
Is there any Browse button control in Swing ??
Simple file browser !!!!!!
File browser crash course
how to write coding for browse button in java swing?
How to copy an html file to another folder