private static void initLookAndFeel ( ) { // UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel"); for ( final LookAndFeelInfo info : UIManager . getInstalledLookAndFeels ( ) ) { if ( "Nimbus" . equals ( info . getName ( ) ) ) { try { UIManager . setLookAndFeel ( info . getClassName ( ) ) ; break ; } catch ( final Exception e ) { throw new RuntimeException ( e ) ; // NOPMD } } } }
Initialisation du L&F .