• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Browser window and applet frame

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic