private void loadTheme(){
  if (UIManager.getLookAndFeel() instanceof MetalLookAndFeel) {
  }
 else {
    primary1.setEnabled(false);
    primary2.setEnabled(false);
    primary3.setEnabled(false);
    secondary1.setEnabled(false);
    secondary2.setEnabled(false);
    secondary3.setEnabled(false);
  }
}

private void loadTheme ( ) { if ( UIManager . getLookAndFeel ( ) instanceof MetalLookAndFeel ) { } else { primary1 . setEnabled ( false ) ; primary2 . setEnabled ( false ) ; primary3 . setEnabled ( false ) ; secondary1 . setEnabled ( false ) ; secondary2 . setEnabled ( false ) ; secondary3 . setEnabled ( false ) ; } }
load theme from current setting ( if metallookandfeel )
