way from executing thread to JApplet
when an applet running in two instance (eg. in two tab in firefox) in the same browser then static variables are shared between the two instance, so statics cannot be used for implementing global variables.
It seems to be a good idea to maintain only one public static Map-like object that holds one set of globals for every applet instance as values, and the key may be an object that somewhat refers to the applet instance - this object need to be derived from the thread that actually runs the applet's methods. Unfortunately i found that the same threads and threadgroups are operating on all the applet instances in one browser (jvm).
Is there any way to get any information from a thread that identifies the applet instance (JApplet object?) itself where the thread is operating actually?