The only semi-automatic launcher for Java is the executable jar. I don't know if Netbeans allows you to export these (don't see why it wouldn't), but Eclipse does has this function.
There are other solutions (such as creating your own Java application launcher, or creating a script file), but these are more complicated. Of course, you can always launch Java applications from the command-line (note: this can get very complicated, particularly for larger projects). For a reference, see
The official command-line docs.