Hi all,
I have 2 questions.
1. I'm popping a frame from an
applet. I'm doing it basically because I have my own toolbar in my applet and so I don't want browser's toolbar. So I just put everything in a frame and pop it out of browser...so the browser will just be blank.
The problem now is if I close this browser window, my frame also gets closed. So I have to give a warning to the users not to close the main browser window...is there any way to make my frame not to close though the browser window is closed? Or is there any better way to achieve this?
2. I am initiating an applet(say child applet) from inside another applet(parent applet). I have designed my child applet also as a separate frame popping out of the browser.
Now I want my child applet's broswer and frame to be closed as soon as I close my parent applet. How do I do this? I'm not using swing , so I can't use the JFrame's feature JFrame.EXIT_ON_CLOSE.
This is my first project in Java...so I think I have messed things up here. Please let me know if there are any other standard (and easy :-)) ways to achieve the above.
Thanks,
Vidya.