@Override
  public Dimension getMinimumSize(JComponent c) {
    return new Dimension(super.getMinimumSize(c).width, getPreferredSize(c).height);
  }
@Override
  public Dimension getMinimumSize(JComponent c)