This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
import javax.swing.Action;
import javax.swing.AbstractAction;
import org.openide.awt.StatusDisplayer;
import org.openide.util.BaseUtilities;
import org.openide.util.Lookup;
/**
if (context != null) { // Already in a non-empty context
ignoreNextTyped = true;
} else if (BaseUtilities.isMac()) {
if (ret != null
&& key.getKeyEventType() == KeyEvent.KEY_PRESSED
&& (key.getModifiers() & InputEvent.ALT_MASK) != 0
&& (key.getModifiers() & InputEvent.CTRL_MASK) == 0
&& !org.openide.util.Utilities.isIgnoredExtendedKeyCode(key.getKeyCode())) {
}
} else if (compatibleIgnoreNextTyped) {
// #44307 = disabled extra ignoreNextTyped patches for past JDKs
if ( // Explicit patch for the keyTyped sent after Alt+key