• Post Reply Bookmark Topic Watch Topic
  • New Topic

creating directory

 
rachita mahendru
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friend
i have used the method setFileSelectionMode(DIRECTORIES_ONLY) to display the directories only. i have tried using the save dialog and the custom dialog such that what ever name user types in the textfield labeled "file name" in the JFileChooser Dialog box and clicks on the save button the code included in the APPROVE_OPTION should be executed but the program is not entering into that loop, i am using the mkdir() method in this loop only. i dont know where the bug lies please help me out.
thanx
reply as soon as possible
rachita
 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls. explain more,or post a code snippet to help u out.
Happy middling with java.
Netharam.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!