Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create a folder through java  RSS feed

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can any one give the solution of my prob.
I want to create a folder in windows m/c through java programe .Is it possible.
If yes then kindly suggest me how...?
Thanks In advance
Vikas
 
Dhanush Dharsh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vikas,
Checkout usage of FileSystemView. It is an abstract class under javax.swing.filechoser. You can create a subclass of FileSystemView and using that create a folder.
-Dhanush.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!