Reputation: 73
I'm using Java and I have been always looking for ways to make my program and upload it online but I don't know how to put my code in a graphical user interface. I want to package it all together so that users can just click on an icon to run it without having to compile.
How do I create graphical user interfaces for Java programs and distribute those programs online?
Upvotes: 3
Views: 253
Reputation: 3640
It depends as there are several ways to create GUIs in Java.
The jar file alone can be distributed. If you mean creating an exe out of a jar, take a look at Jar2Exe
Upvotes: 4
Reputation: 10370
Learn Java Swing http://download.oracle.com/javase/tutorial/uiswing/
Learn about Java Webstart http://www.java.com/en/download/faq/java_webstart.xml
Use Netbeans for creating your GUI (or another IDE) http://netbeans.org/kb/articles/javase-deploy.html
Upvotes: 5