@Override
      public Dimension getMinimumSize() {
        Dimension minimumSize = super.getMinimumSize();
        Dimension preferredSize = getPreferredSize();
        minimumSize.height = Math.max(minimumSize.height, preferredSize.height);
        return minimumSize;
      }
@Override
      public Dimension getMinimumSize()