private static <T extends JComponent> T removeBorder(final T component) {
    component.setBorder(JBUI.Borders.empty());
    return component;
  }
private static <T extends JComponent> T removeBorder(final T component)