FileDocCategorySizeDatePackage
CtrlIFocusManager.javaAPI DocExample737Mon Nov 09 12:45:52 GMT 1998None

CtrlIFocusManager

public class CtrlIFocusManager extends DefaultFocusManager

Fields Summary
Constructors Summary
Methods Summary
public voidprocessKeyEvent(java.awt.Component focusedComp, java.awt.event.KeyEvent evt)


    // If it's an "I" . . .
    if (evt.getKeyCode() == KeyEvent.VK_I) {

      // . . . and CTRL is pressed . . .
      if ((evt.getModifiers() & ActionEvent.CTRL_MASK)==ActionEvent.CTRL_MASK) {

        // . . . let it through by doing nothing . . .
        return;
      }
    }

    // Otherwise, let superclass do its thing . . .
    super.processKeyEvent(focusedComp, evt);