@Override
    public void mousePressed(@NotNull MouseEvent e) {
      IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(
        () -> IdeFocusManager.getGlobalInstance().requestFocus(ImageEditorUI.this, true));
    }
@Override
    public void mousePressed(@NotNull MouseEvent e)