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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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

How to mask Alt + Tab and Alt + Esc

raj varma

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

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
Similar Threads
How to mask Alt + Tab and Alt + Esc
IntelliJ 4.0 : how to go from file to file?
Active Vs Foreground Window
Geek gang paraphernalia
Alt + Tab, Ctl + Esc