File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

To run a JFrame application opening a JAR file

 
Jigar Gandhi
Greenhorn
Posts: 20
  • 0
  • 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: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic