A
astrorail
Hi All,
A question.
I have a JDK installed in my computer. I have build an application
(GUI) MainAppl.java which uses lot of classes which also contains
static methods.
Now I invoke the MainAppl two times. So I have two applications
running in one JVM. Am I correct here?
Now I have different projects loaded in the two applications so
different drawings are drawn in the two frames. (MainAppl class)
Suppose there are static methods which is used by the application.
Does the static method change() is common between the two
applications. So calling change() from one application also affect the
UI of the second application.
I have a feeling that the static instances are common to the two
applications. Or is the two applications share completely different
address spaces?
Any comments would be nice.
Thanks
astrorail.
A question.
I have a JDK installed in my computer. I have build an application
(GUI) MainAppl.java which uses lot of classes which also contains
static methods.
Now I invoke the MainAppl two times. So I have two applications
running in one JVM. Am I correct here?
Now I have different projects loaded in the two applications so
different drawings are drawn in the two frames. (MainAppl class)
Suppose there are static methods which is used by the application.
Does the static method change() is common between the two
applications. So calling change() from one application also affect the
UI of the second application.
I have a feeling that the static instances are common to the two
applications. Or is the two applications share completely different
address spaces?
Any comments would be nice.
Thanks
astrorail.