• Post Reply Bookmark Topic Watch Topic
  • New Topic

Open Applet in new JVM (new console)

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I was working on a Applet in which i had some static methods in a class with some applet data, it was working great untill i had to develop another applet which uses these static methods, now the problem is the data is getting mixed when i open both the applets.
i want to know if i can open the second applet in new JVM so it will be a different applet JVM, as if the applet is from 2 different web sites
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Applets forum.
 
Vishal Pai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure I understand your problem but I think this could help:
http://www.javaworld.com/javaworld/javatips/jw-javatip101.html
 
Joe Ess
Bartender
Posts: 9376
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that can be done. It would probably be easiest to either not use static methods or rewrite your static methods so they don't use any static variables.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!