import javax.swing.JFrame; import shades.ShadesLookAndFeel; public class MyApp { public static void main(String[] args) { try { javax.swing.UIManager.setLookAndFeel(new ShadesLookAndFeel()); } catch (Exception e) { e.printStackTrace(); } JFrame frame = new JFrame("My Application"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setSize(500, 500); frame.setVisible(true); } }


上一篇:
下一篇:
切换中文