开发者

Global values of application and applet

开发者 https://www.devze.com 2023-03-07 16:27 出处:网络
With desktop applications, to maintain global values, I usually have some singleton or static properties. However, recent days, I have been working with applet. And it causes some trouble because when

With desktop applications, to maintain global values, I usually have some singleton or static properties. However, recent days, I have been working with applet. And it causes some trouble because when I we open the application in different tabs of Firefox, the applets are l开发者_JAVA百科aunched in the same JVM and share the sames static things.

I wonder how you do manage global values in this case?


For applets running in a Next Generation Java Plug-in Technology JRE, it is easy.

<param name="separate_jvm" value="true" />
0

精彩评论

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