my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Tracking browser events in  applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Tracking browser events in  applet" Watch "Tracking browser events in  applet" New topic
Author

Tracking browser events in applet

mohamed zafer
Ranch Hand

Joined: Nov 03, 2000
Posts: 62
Hello There,
I am opening a Window(of Window class) from an applet. The problem is that when I click on the browser or change to any other application, the new opened Window disappears(infact it is overlapped by the new application). The only way that i can make it visible again is by minimizing all the windows.
What I am in need is that the Window should always be in a position relatively to the browser (containing the applet). So that when ever I switch to the browser, I should also be able to see the new created Window.
If I am using a frame instead of the Window ,I have no problems 'coz frame can be made active form the taskbar or using alt+tab keys, which is not possible in Window.
Also how can I trap the minizing, active, inactive etc event of the browser in the applet.
Looking forward for a response at the earliest,
Thanks in advance,
Mohamed Zafer
 
jQuery in Action, 2nd edition
 
subject: Tracking browser events in applet
 
Similar Threads
TableRow background color problem
appletcontext.showDocument(...)
let me know
Option dialogue box not getting focus
openwindow iframe conflict