I'm trying to figure out how difficult it would be to convert a Java Web Start app to an applet. Theoretically, if the application didn't do anything such as write to the file system...basically if all of it's actions should be safe within the Applet sandbox, how tricky would it be? Is it a matter of wrapping the main app inside of an applet?
+1
A:
It should be quite straight forward. Simply create an applet class. From within the applet class you can instantiate whatever class JWS would normally start.
You then need to convert the JWS xml file to an applet tag and put it on a web page.
brianegge
2009-11-20 05:15:48
Why on earth would anyone still want to use an applet?Why not look into using some kind of ajax framework like GWT or have a look at Java Fx.
crowne
2009-11-20 08:42:26
Applet's continue to look uglier as they haven't kept pace with native look and feels. However, an applet or JWS can be run just by going to a web page - which GWT/RCP can't. JavaFX is immature, and would require rewriting the apps entire GUI.
brianegge
2009-11-20 21:44:29