日期:2014-05-20 浏览次数:20830 次
public static void main(String[] args) { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); try { SmartLookAndFeel.setTheme("Green"); SmartLookAndFeel lookFeel = new SmartLookAndFeel(); javax.swing.UIManager.setLookAndFeel(lookFeel); } catch (Exception e) { e.printStackTrace(); } java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new ToolMainFrame().setVisible(true); } }); }