aspose file tools*
The moose likes Java in General and the fly likes How to mask Alt + Tab and Alt + Esc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to mask Alt + Tab and Alt + Esc " Watch "How to mask Alt + Tab and Alt + Esc " New topic
Author

How to mask Alt + Tab and Alt + Esc

raj varma
Greenhorn

Joined: Jan 05, 2003
Posts: 28
How do i mask alt+tab and alt+Esc in my full screen gui swing application ?
Please Help
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
You probably need to implement a KeyListener and listen for that sequence of key strokes.
Not sure what you mean when you say that you want to "mask" them. You can "consume" that second event, which will probably do what you intend. Actually getting rid of BOTH would require buffering up key strokes before releasing them to the queue, which is way less straight forward.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
Don't get me started about those stupid light bulbs.
 
subject: How to mask Alt + Tab and Alt + Esc