aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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