@Override
  protected int getMinimumHeight(int originHeight) {
    JComponent component = getComponent();
    Insets insets = component.getInsets();
    return JBUI.CurrentTheme.TextField.minimumSize().height + insets.top + insets.bottom;
  }
@Override
  protected int getMinimumHeight(int originHeight)