@Override
    public void propertyChange(PropertyChangeEvent event) {
      if (KeyboardShortcutPanel.this != event.getSource()) {
        setShortcut(newShortcut());
        if (null == myFirstStroke.getKeyStroke()) {
          IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(myFirstStroke, true));
        }
        else if (null == mySecondStroke.getKeyStroke() && mySecondStrokeEnable.isSelected()) {
          IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(mySecondStroke, true));
        }
      }
      else if (event.getNewValue() instanceof KeyboardShortcut shortcut) {
        myFirstStroke.setKeyStroke(shortcut.getFirstKeyStroke());
        mySecondStroke.setKeyStroke(shortcut.getSecondKeyStroke());
      }
      else {
        myFirstStroke.setKeyStroke(null);
        mySecondStroke.setKeyStroke(null);
      }
    }
@Override
    public void propertyChange(PropertyChangeEvent event)