// Set look and feel to checkbox-label //(equal to classname)
UIManager.setLookAndFeel(eve.getActionCommand());
// Update complete gui-component tree // (all components will set to new lf) SwingUtilities.updateComponentTreeUI(this);
// This code forces VM to repaint all: invalidate(); validate(); repaint(); |