int (int textHeight) { JComponent c = getComponent(); if (DarculaEditorTextFieldBorder.isComboBoxEditor(c) || ComponentUtil.getParentOfType((Class<? extends JSpinner>)JSpinner.class, (Component)c) != null || ClientProperty.isTrue(c, "TextField.NoMinHeightBounds")) { return textHeight; } Insets i = getComponent().getInsets(); return (isCompact(c) ? COMPACT_HEIGHT.get() : MINIMUM_HEIGHT.get()) + i.top + i.bottom; }