aspose file tools
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 Head First Android this week in the Android 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: 10732

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.
wood burning stoves
subject: Applet pop-up window auto closing?
It's not a secret anymore!