posted 22 years ago
Well, when you listen for a KeyEvent and it is from a key that you care about, in the handling code you can consume the keystroke, or change it to show something else instead.
You could catch all the VK_X keystrokes and everytime you find one change the color of the screen or whatever.
"JavaRanch, where the deer and the Certified play" - David O'Meara