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