Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i try since few days now to find a way to open a folder in a jframe created in java.

i saw a previous question about that here, but the answer didn't help me...

So if someone knows how i can do that or where i can find information, it will be very cool.

thanks,

Vadim
Posted
Comments
Osmund Francis 18-Jul-14 15:46pm    
You can create a dialog to let the user select a file/folder. This is achieved through the Java Swing JFileChooser class:
http://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html

Is this the functionality that you were seeking?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900