I'm using netbeans 8.
In my project folder I manually created a folder called "Storage" and now I'm trying to create within it a new folder programmatically. but I don't see the new folder.
this is what I did:
File folder = new File("../Storage/Test");
folder.mkdir();
after the project was running I entered to the Storage folder to see if "Test" folder was created, and nothing.. it was empty
File file = new File("../Storage/Test");
this file correspond to the following structure if using netbeans.
--Anyworkingdirectory
// by default in netbeans 'my document' of your account
|
|--myproject
... // your project
|
|--Storage
|
|--Test
So check your Storage folder if it is in correct place or not. Because there is nothing wrong in your code. The problem is where you created that Storage
directory.