这就是Jdk1.4.2下可以使用的:
try {
UIManager.setLookAndFeel( "com.sun.java.swing.plaf.mac.MacLookAndFeel" );
SwingUtilities.updateComponentTreeUI( c );//不更新是看不到效果的
}
catch ( Exception ex ) {
JOptionPane.showMessageDialog( null,
                     "setLookAndFeel时出错了:( Errormsg:" + ex,
                     "setLookAndFeel",
                         JOptionPane.INFORMATION_MESSAGE);
}