调用 后 , 仅
应在事件分发线程上构造和 *** 作Swing
GUI对象。 __
UIManager.setLookAndFeel()
try { UIManager.setLookAndFeel(new SyntheticaAluOxideLookAndFeel());} catch (UnsupportedLookAndFeelException e) { e.printStackTrace();} catch (ParseException e) { e.printStackTrace();}EventQueue.invokeLater(new Runnable() { public void run() { Jframe frame = new Jframe(); … frame.pack(true); frame.setVisible(true); }});
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)