自己去下载外观,java的外观很少,就20几个吧
去这里看看那
http://blog.sina.com.cn/s/blog_4fe243440100b41q.html~type=v5_one&label=rela_nextarticle
下载后用前面那位仁兄的方法设置外观即可
如:UIManager.setLookAndFeel(new NimRODLookAndFeel());
注意:这句话必需写在界面生成之前
//假设MainFrame是主界面的类
import javax.swing.UIManager;
import javax.swing.JFrame;
...................
//定制外观
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception exception) {
exception.printStackTrace();
}
try {
MainFrame frame = new MainFrame();
frame.setVisible(true);
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
} catch (Exception e) {
e.printStackTrace();
}
用flex设计出来效果更好