Possible Duplicate:
How can I convert my Java program to an .exe file?
Sorry for a newbie question, just starting with Java under windows… what is the best way to convert an executable jar file into a windows exe file?
If possible, so that the GUI would also become windows-style, as the java’s gui seems kinda ugly. 🙂
Thanks!
Try JSmooth or launch4j.
Both are free and will allow you to create java executable, and will automatically find / download JRE on users’ workstations.
Also note, that the look-and-feel of your Java application is up to you. You declare the look and feel using
and this way you replace default look-and-feel (which i think is Metal).
Place it somewhere at the very beginning of your
main()method (or at least before swing initializes).Also read about other ways of changing Java look and feel.