@Override
    public void focusGained(FocusEvent e) {
      if (!mySelect) {
        mySelect = true;
        return;
      }
      //noinspection SSBasedInspection
      SwingUtilities.invokeLater(() -> getTextField().selectAll());
    }
@Override
    public void focusGained(FocusEvent e)