my dog learned polymorphism*
The moose likes JNLP and Web Start and the fly likes Issues on Running JNLP on Java Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Issues on Running JNLP on Java Swing" Watch "Issues on Running JNLP on Java Swing" New topic
Author

Issues on Running JNLP on Java Swing

Gene Ho
Greenhorn

Joined: Jul 31, 2009
Posts: 1
Hey guys, is it possible to run jnlp applications in java swing?
I did a frame with a jButton and do a actionperformed but i dont know how do i call the program out.
I imported the program into my workspace thou. Thanks alot!
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

The question as written doesn't make any sense. You don't "run Java applications in Swing".

But you can certainly run an application which uses Swing via JNLP. In fact since JNLP is for distributing GUI applications, you would almost always use Swing. Here's a link to the comprehensive JNLP tutorial, maybe it will help answer your questions:

http://java.sun.com/docs/books/tutorial/deployment/webstart/index.html
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Issues on Running JNLP on Java Swing