1063 lines · 40.6 KB · Java
RawDownload
    public void componentMoved(ComponentEvent e) {        notifyClientWindowChange((Window)e.getComponent());    }     public void componentShown(ComponentEvent e) {        notifyClientWindowChange((Window)e.getComponent());    }     public void componentHidden(ComponentEvent e) {        notifyClientWindowChange((Window)e.getComponent());    }     public void windowOpened(WindowEvent e) {}    public void windowClosing(WindowEvent e) {}    public void windowClosed(WindowEvent e) {}     public void windowIconified(WindowEvent e) {        notifyClientWindowChange(e.getWindow());    }     public void windowDeiconified(WindowEvent e) {        notifyClientWindowChange(e.getWindow());    }     public void windowActivated(WindowEvent e) {}    public void windowDeactivated(WindowEvent e) {}     /**     * Initializes the input method selection key definition in preference trees     */    private void initializeInputMethodSelectionKey() {        AccessController.doPrivileged(new PrivilegedAction() {            public Object run() {                // Look in user's tree                Preferences root = Preferences.userRoot();                inputMethodSelectionKey = getInputMethodSelectionKeyStroke(root);                 if (inputMethodSelectionKey == null) {                    // Look in system's tree                    root = Preferences.systemRoot();                    inputMethodSelectionKey = getInputMethodSelectionKeyStroke(root);                }                return null;            }        });    }     private AWTKeyStroke getInputMethodSelectionKeyStroke(Preferences root) {        try {            if (root.nodeExists(inputMethodSelectionKeyPath)) {                Preferences node = root.node(inputMethodSelectionKeyPath);                int keyCode = node.getInt(inputMethodSelectionKeyCodeName, KeyEvent.VK_UNDEFINED);                if (keyCode != KeyEvent.VK_UNDEFINED) {                    int modifiers = node.getInt(inputMethodSelectionKeyModifiersName, 0);                    return AWTKeyStroke.getAWTKeyStroke(keyCode, modifiers);                }            }        } catch (BackingStoreException bse) {        }         return null;    }}

Lines 1001–1063 of 1063. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t