设置Swing使用系统风格的组件

      private void setLookFeel() {
try {

// Set System L&F
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception e) {
System.out.println(
"Cannot set System look and feel. Default look and feel will be used.");
}
}
posted @ 2011-07-21 14:42  iVechan  阅读(311)  评论(0编辑  收藏  举报