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 launched in the same JVM and share the sames static things.
I wonder how you do manage global values in this case?