Conversion of a Java Web Start app to an Applet
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 开发者_StackOverflow中文版sandbox, how tricky would it be? Is it a matter of wrapping the main app inside of an applet?
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.
精彩评论