• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFileChooser's question!!

 
derekyu815
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i use class of JFileChooser to find folder !!
thank you so much!!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
derekyu815,

Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
Thanks,
Cindy
And this is a SWING question - so I will move the question to that forum.
 
Greg Brouelette
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The API for JFileChooser has an excellent code example describing how to build and use a JFileChooser. Also, as part of the JDK installation you got the src for the Swing Set demonstration. Look into the file C:\jdk1.3\demo\jfc\SwingSet2\src\FileChooserDemo.java for an example of the various things you can do with a JFileChooser.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!