JNLP - application-desc vs applet-desc - is one better than the other when not running in browser?

I have an applet which I no longer want to run in the browser - but in stead want to run as a downloadable, auto-updating, oflineable Java application via JNLP.

I do not want to maintain the ability to run it as an applet.

I have no problem with either wrapping the existing applet in a JFrame and a main-menthod, or simply rewriting it and replacing the init() and others all together.

But my question is: Are there any advantages or disadvantages to to using application-desc vs applet-desc?


The first advantage of converting to JFrame based, is that you have immediate control of the top level container for things like:

  • menus
  • look & feel
  • default close operation
  • location
  • size by pack() (hooRAY!)
  • ..

Go with applicaton-desc for a free floating deployment. But don't put the applet in a frame, instead put the applet content into a panel, and put the panel into the frame (or applet, or window, or..).

Need Your Help

Is it possible to nest forms in Wicket that are independent of each other?

java ajax wicket

Is it possible to nest forms in Wicket that are independent of each other? I want to have a form with a submit button and a cancel button. Both buttons should direct the user to the same page (let'...

Integrate a picture with Tkinter

python image python-2.7 tkinter

I am a begginner in Python. I'm trying to display a picture with Tkinter in a window, but I don't success...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.