Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Applets and the fly likes Applet pop-up window auto closing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet pop-up window auto closing?" Watch "Applet pop-up window auto closing?" New topic

Applet pop-up window auto closing?

Sean Griffin

Joined: Aug 02, 2012
Posts: 2
Suggestion on best practices? I'll give the "I'm new disclaimer."

I have a java applet that pops up from a web page, does some web scrapping through htmlunit. After the applet is done, I need the applet pop-up window to close and the original page to refresh.
As of now I'm using showStatus() to know when the applet is finishing and manually doing the above.

I'm using onclick for the pop-up window initially to open.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10694

Welcome to the Ranch.

Your question is more suitable for the Applet forums. I will move it there for you.

Something like
will reload the page for you.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Sean Griffin

Joined: Aug 02, 2012
Posts: 2
Thank you Maneesh.

I'll mess around with it, it's still not reloading the parent window after running, but it at least gives me a direction to go with and some things to try out.
jQuery in Action, 2nd edition
subject: Applet pop-up window auto closing?