Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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