@Override
  public Dimension getInitialSize() {
    var size = super.getInitialSize();
    if (size != null) {
      return size;
    }

    return new Dimension(500, 500);
  }
@Override
  public Dimension getInitialSize()