@Override
  public Dimension getMinimumSize() {
    Dimension baseSize = super.getMinimumSize();
    int height = Math.max(baseSize.height, TipUiSettings.getTipPanelMinHeight());
    return new Dimension(getDefaultWidth(), height);
  }
@Override
  public Dimension getMinimumSize()