File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browser window and applet frame

 
Vidya Ram
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic