private static int getComponentHInset(boolean isWithBorder, boolean isLabelFromTabbedPane) {
    return isWithBorder ? 7 : isLabelFromTabbedPane ? 20 : 7;
  }
private static int getComponentHInset(boolean isWithBorder, boolean isLabelFromTabbedPane)