force applets to open in new vm?

Discussion in 'Java' started by mfreak, Nov 3, 2006.

  1. mfreak

    mfreak Guest

    If I use a browser to open 2 separate japplets, is there any way to
    program the html to create a whole new VM for each applet? Sometimes my
    users need to open the same applet twice, and I don't want static
    variables shared. I know they shouldn't be static in the first place,
    but there's too many applications, several million lines of code, so
    making legacy code correct can't be a short term solution. Putting
    target=_top, target=_blank, target=_new in the link tags doesn't do
    it..

    I'm currently instructing users to open 2 instances of their browser,
    which is the only way I've found so far that will give me 2 distinct
    VM's. Using IE7 and opening 2 separate VMs in different tabs of the
    same browser instance would be ideal, but I'm willing to settle for
    generating new browser windows if necessary.

    TIA,
     
    mfreak, Nov 3, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kele
    Replies:
    0
    Views:
    2,801
  2. Jan Meyer

    java applets old & new

    Jan Meyer, Oct 30, 2003, in forum: Java
    Replies:
    4
    Views:
    412
    Andrew Thompson
    Nov 6, 2003
  3. Replies:
    3
    Views:
    359
    SeeSchloss
    Sep 21, 2003
  4. tiewknvc9
    Replies:
    12
    Views:
    1,300
    Chris Uppal
    Feb 19, 2007
  5. Replies:
    2
    Views:
    470
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...

Share This Page