public static void applyDeprecatedBackground(@Nullable JComponent component) {
    Color color = getDeprecatedBackground();
    if (component != null && color != null) {
      component.setBackground(color);
      component.setOpaque(true);
    }
  }
public static void applyDeprecatedBackground(@Nullable JComponent component)