chetan
chetan

Reputation: 3255

run swing application on browser

I have one swing application that i want to run on browser.

What is the best way to achieve it ? Is jnpl is one this solution ?

I tried jnpl but when i tries to run with -- http://localhost:8080/Test.jnlp -- One error window opens with error unable to launch application

If applet is the solution then , if possible please ,give me one sample applet application. Thank you in advance

Upvotes: 2

Views: 1238

Answers (1)

Riduidel
Riduidel

Reputation: 22292

In fact, JNLP won't allow you to run your application a browser (as say the unofficial JNLP FAQ, JNLP!=Applet). It will instead allow you to easily distribute current (and nexts) version of your application to your clients, by simplifying the install process.

The simple way to do it is to transform your application into a real applet (complet with all its usage restrictions), then make this applet detachable, using new Java6 feature. I unfortunatly only found info on that very excellent feature in a blog post.

Upvotes: 2

Related Questions