开发者

Conversion of a Java Web Start app to an Applet

开发者 https://www.devze.com 2022-12-12 04:54 出处:网络
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 a

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消