@NotNull
    @Override
    public Rectangle getBounds() { // just delegate to the above
      return new Rectangle(getLocation(), getSize());
    }
@NotNull
    @Override
    public Rectangle getBounds()