posted 22 years ago
To check for "control keys" being down, use the methods isControlDown(), isAltDown(), isShiftDown(), etc. These methods are on the InputEvent class, and KeyEvent inherits them.
The keyPressed() method your listener for "ctrl+insert" would look something like this :
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.