Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get handle of the window running the applet?

 
Bala Mohan
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.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • 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.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic