File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "WINDOW_ACTIVATED for Window" Watch "WINDOW_ACTIVATED for Window" New topic


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?
[ March 30, 2004: Message edited by: Stephen Suen ]
Nathan Pruett

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.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: WINDOW_ACTIVATED for Window
It's not a secret anymore!