public static void activateSystemStyle(){
  try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  JFrame.setDefaultLookAndFeelDecorated(true);
}

public static void activateSystemStyle ( ) { try { UIManager . setLookAndFeel ( UIManager . getSystemLookAndFeelClassName ( ) ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } JFrame . setDefaultLookAndFeelDecorated ( true ) ; }
tries to activate the system default look and feel .
