Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

To run a JFrame application opening a JAR file

 
Jigar Gandhi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have made a jar file containing a package of my application. My application is a small game which involves JFrame.
I want to make the jar file such that as soon as a lay man clicks on the jar file the main function of my class automatically executes.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64835
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
At the top of this forum is the notice:
This forum is intended for questions and comments about this web site, www.javaranch.com.
It is not for questions about the Java language - that's what all our other forums are for.

Please heed this notice and post your question in an appropriate forum. Thanks.
 
    Bookmark Topic Watch Topic
  • New Topic