void (boolean selected) { if (!ExperimentalUI.isNewUI()) { myIconButton.setSelected(selected); myIconButton.putClientProperty("JButton.backgroundColor", getActionsButtonBackground(selected)); myIconButton.repaint(); } }