void (@NotNull JButton button, @NotNull String colorKey, @NotNull String colorProperty) { if (UIManager.getColor(colorKey) != null) { button.putClientProperty(colorProperty, JBColor.namedColor(colorKey)); } }