• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to get handle of the window running the applet?

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am running an applet from IE. The applet does things in the background. But, I am displaying a progress monitor to indicate the progress of the work that is being done.
I want only the progress monitor to be displayed and want the other (parent) window be minimized? How do I do that? ie. Can I get the handle of the window that contains the applet and minimize it? Or better, can have the progress monitor embeded in the browser?
Thanks,
Bala.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "window" are you talking about? Most applets don't run in an external window like a JFrame or Frame. Most applets run directly inside the Web Browser.
 
Bala Mohan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,
I am refering to the browser window that has the applet/object tag.
When the applet is running, that window stays. I like to minimize/close/be able to put some messages on to that window.
Thanks,
Bala.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You aren't going to be able to do this from just a regular Applet...

You're going to have to use something like LiveConnect by Netscape.

This question really belongs in the Applets forum... I'm moving it there.
 
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic