void (final @NotNull Component component, final Color background) { final Color oldBackGround = component.getBackground(); if (background == null || !background.equals(oldBackGround)) { component.setBackground(background); } }