I dont work with projects, i work with classes. I have a folder saved on my flash drive which contains .java files with folders of music and images. I dont think NetBeans or Eclipse can do what i need, i. e. compile those files in one click.
If someone has a small portable IDE, please share...

Eclipse:
new->project->enter "Project name:"
"create project from existing source"->point it at the folder above your src folder.
It will automatically detect which sub-folders contain source.
Finish up.
Hey presto, you have compiled code.
Eclipse has an automatic background compiler, (under normal operation) there is no 'compile' button.
To run the program select the class containing 'main', right click->run as->java application.