Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to open folder in jframe which i made, using java?
i don't want using desktop :

Desktop desktop = Desktop.getDesktop();
File dirToOpen = new File(dir);
desktop.open(dirToOpen);
Posted

1 solution

 
Share this answer
 
Comments
Member 10290317 7-Jan-14 5:06am    
i want to open a folder in jframe which user can select file's in it and can delete, rename, go to the sub directory ,.... ;(i want to implement this operation myself) .
Richard MacCutchan 7-Jan-14 5:25am    
Fine, you have told us what you want to do, but not what your problem is. If you are waiting for someone to provide you with a full solution then you will be disappointed.
Member 10290317 7-Jan-14 14:32pm    
i want to no is there any java method which open a directory in jfram or jpanel just for showing it's content and user can select file .
tnx
Member 10290317 9-Jan-14 2:29am    
tnx, I see that class, but i want to know is there any class which show the content of the directory like opening the folder with desktop? (i don't want to list the content of the folder)

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