⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.java

📁 这是整套横扫千军3D版游戏的源码
💻 JAVA
字号:
/* * Main.java *  * Created on 15-Sep-2007, 12:47:38 *  * To change this template, choose Tools | Templates * and open the template in the editor. */package unitsynctest;import javax.swing.UIManager;import javax.swing.UnsupportedLookAndFeelException;/** * * @author AF-StandardUsr */public class Main {    /**     * @param args the command line arguments     */    public static void main(String[] args) {        javax.swing.SwingUtilities.invokeLater (new Runnable () {            public void run () {                CreateGUI ();            }        });    }        /**     * Creates the programs GUI window     */    public static void CreateGUI() {        try {            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());        } catch (ClassNotFoundException ex) {            ex.printStackTrace ();        } catch (UnsupportedLookAndFeelException ex) {            ex.printStackTrace ();        } catch (InstantiationException ex) {            ex.printStackTrace ();        } catch (IllegalAccessException ex) {            ex.printStackTrace ();        }                CGUI c =new CGUI ();        c.setVisible (true);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -