• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to get handle of the window running the applet?

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
We're all out of roofs. But we still have tiny ads:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic