wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes WINDOW_ACTIVATED for Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "WINDOW_ACTIVATED for Window" Watch "WINDOW_ACTIVATED for Window" New topic
Author

WINDOW_ACTIVATED for Window

Stephen Suen
Ranch Hand

Joined: Oct 30, 2003
Posts: 34
Hi there
I'm wondering whether some window events such as WINDOW_ACTIVATED for JWindow are "consumed" somewhere, or they will never happen to be in the event queue?
Thanks
[ March 30, 2004: Message edited by: Stephen Suen ]
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The events aren't being consumed... I don't think that JWindow ever generates these events. If you are using JDK 1.4+ you can use a JFrame and call setUndecorated( true ). Undecorated JFrames *will* generate these events.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WINDOW_ACTIVATED for Window
 
Similar Threads
WA #1.....word association
how do close mozilla window?
how many remaining?
parent window refresh
Opening a popup on another machine