就是有最大化,最小化的那个

解决方案 »

  1.   

    你说的应该是界面风格吧LookAndFeel?main()方法的最前面写,整个程序可以应用。
            try {
                //UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel");//Windows风格
                UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");//Windows系统风格
                //UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");//Java风格
                //UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");//Unix风格
             } catch (ClassNotFoundException ex) {
                
            } catch (InstantiationException ex) {        } catch (IllegalAccessException ex) {        } catch (UnsupportedLookAndFeelException ex) {        }