I have web page with frames.
in the "main" frame i have an applet that open a socket with the server and load a whole of datas, storing it in an Int variable.
In the other frame i can sometimes have another class, that needs to work with this array.
So i need a way to read the array from the "main" applet.
i've tryed with a function "getMyArray" in the main applet that return the array, and a call to
in the "secondary" applet, but this method works only if the secondary applet starts the main (that i can't accept).
How can i obtain variables from another class?