private static int getComponentVInset(boolean isWithBorder, boolean isLabelFromTabbedPane) {
    return isWithBorder ? 1 : isLabelFromTabbedPane ? 10 : 5;
  }
private static int getComponentVInset(boolean isWithBorder, boolean isLabelFromTabbedPane)