This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WINDOW_ACTIVATED for Window

 
Stephen Suen
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic