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

📄 jbenchmark3d.java~8~

📁 jbenchmark3D 的源码,带jbuilder工程
💻 JAVA~8~
📖 第 1 页 / 共 2 页
字号:
        a_javax_microedition_lcdui_Form_fld.append(String.valueOf(Runtime.getRuntime().freeMemory()));
        a_javax_microedition_lcdui_Form_fld.append("\n\nMicroedition Configuration: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.configuration"));
        a_javax_microedition_lcdui_Form_fld.append("\nMicroedition Profiles: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.profiles"));
        a_javax_microedition_lcdui_Form_fld.append("\nMicroedition Platform: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.platform"));
        a_javax_microedition_lcdui_Form_fld.append("\nMicroedition Encoding: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.encoding"));
        a_javax_microedition_lcdui_Form_fld.append("\nMicroedition Locale: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.locale"));
        a_javax_microedition_lcdui_Form_fld.append("\nMicroedition Communication Ports: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.commports"));
        a_javax_microedition_lcdui_Form_fld.append("\nMicroedition Hostname: ");
        a_javax_microedition_lcdui_Form_fld.append(s + System.getProperty("microedition.hostname"));
        a_javax_microedition_lcdui_Form_fld.removeCommand(h);
        a_javax_microedition_lcdui_Form_fld.addCommand(d);
        if(a_java_lang_Thread_fld != null)
            a_java_lang_Thread_fld = null;
        System.gc();
    }

    public void commandAction(Command command, Displayable displayable)
    {
        if(command == b_javax_microedition_lcdui_Command_fld)
            exitMIDlet();
        else
        if(command == c_javax_microedition_lcdui_Command_fld)
        {
            a_javax_microedition_lcdui_Display_fld.setCurrent(a_d_fld);
            iTimer = new Timer();
            iTimer.schedule(new MyTimerTask(), 0L, 10L);
        } else
        if(command == i)
        {
            System.gc();
            startTest();
        } else
        if(command == a_javax_microedition_lcdui_Command_fld)
        {
            Form form = new Form("Help");
            form.append("JBenchmark3D measures your Java enabled device's 3D graphical performance...\n\n");
            form.append("After you finished the test you can upload your results to www.jbenchmark.com so everybody can see, how fast your device is!");
            form.setCommandListener(this);
            form.addCommand(h);
            a_javax_microedition_lcdui_Display_fld.setCurrent(form);
        } else
        if(command == d)
        {
            Form form1 = new Form("Upload results");
            form1.setCommandListener(this);
            form1.addCommand(h);
            a_javax_microedition_lcdui_Display_fld.setCurrent(form1);
            if((a_c_fld != null) & a_c_fld.d_boolean_fld)
            {
                c_javax_microedition_lcdui_TextField_fld = new TextField("Device name", a_c_fld.d_java_lang_String_fld, 20, 0);
                b_javax_microedition_lcdui_TextField_fld = new TextField("JBenchmark.com Login (required)", a_c_fld.b_java_lang_String_fld, 20, 0);
                a_javax_microedition_lcdui_TextField_fld.setConstraints(0x10000);
                form1.append(c_javax_microedition_lcdui_TextField_fld);
                form1.append(b_javax_microedition_lcdui_TextField_fld);
                form1.append(a_javax_microedition_lcdui_TextField_fld);
                form1.addCommand(g);
            } else
            {
                form1.addCommand(i);
                form1.append("You don't have finished JBenchmark results.\nPress Back to continue the running JBenchmark, or press Restart to run a new test.");
                form1.append("\n\nNote: restarting will lead to better result.");
                form1.addCommand(h);
            }
        } else
        if(command == h)
        {
            if(a_d_fld != null)
                a_javax_microedition_lcdui_Display_fld.setCurrent(a_d_fld);
            else
                a_javax_microedition_lcdui_Display_fld.setCurrent(a_javax_microedition_lcdui_Form_fld);
        } else
        if(command == g)
        {
            a_c_fld.d_java_lang_String_fld = c_javax_microedition_lcdui_TextField_fld.getString();
            a_c_fld.b_java_lang_String_fld = b_javax_microedition_lcdui_TextField_fld.getString();
            Form form2 = new Form("Uploading");
            form2.setCommandListener(this);
            form2.addCommand(h);
            a_javax_microedition_lcdui_Display_fld.setCurrent(form2);
            boolean flag = false;
            if((a_c_fld != null) & a_c_fld.d_boolean_fld)
                try
                {
                    (new Thread(new b(a_c_fld, form2, "http://www.jbenchmark.com/jbupload3.jsp"))).start();
                }
                catch(Exception exception2)
                {
                    exception2.printStackTrace();
                }
        } else
        if(command == f)
        {
            Form form3 = new Form("About JBenchmark3D");
            try
            {
                form3.append(new ImageItem("", Image.createImage("/JBenchmark3D/jBenchmark3D128.png"), 51, ""));
            }
            catch(Exception exception) { }
            form3.append("JBenchmark3D (JBenchmark 3.0)\n\n");
            form3.append("Visit\nhttp:\\\\wap.jbenchmark.com\n(from your mobile phone)\n");
            form3.append("or\nhttp:\\\\www.jbenchmark.com\n(from PC)\nfor more information.\n\n");
            form3.append("Copyright 2005 Kishonti LP.\nAll rights reserved.\n");
            form3.setCommandListener(this);
            form3.addCommand(h);
            a_javax_microedition_lcdui_Display_fld.setCurrent(form3);
        } else
        if(command == e)
        {
            Form form4 = new Form("Credits");
            try
            {
                form4.append(new ImageItem("", Image.createImage("/JBenchmark3D/jBenchmark3D128.png"), 51, ""));
            }
            catch(Exception exception1) { }
            form4.append("JBenchmark team\n");
            form4.append("Chief programmer: Laszlo Kishonti\n");
            form4.append("Server side: Attila Szarka\n");
            form4.append("Design: Cecilia Keresztes\n");
            form4.append("Legal work: Marcell Szonyi\n\n");
            form4.append("Borrowed materials\n");
            form4.append("Original Wtech2 Quake map: Warstarter of Flatware\n");
            form4.append("Original Soldier model: Phil Heil\n");
            form4.append("Textures: Quake Retexture Project\n\n");
            form4.append("Special thanks\n");
            form4.append("Haim Barad, Intel\n");
            form4.append("Ville Miettinen, Hybrid Graphics\n");
            form4.append("Craig Dean, Alias\n");
            form4.append("Tomi Aarnio, Nokia\n");
            form4.append("Hanz Heger, SonyEricsson\n");
            form4.append("Nickolay Belofastow, Aplix\n");
            form4.append("Paul Beardow, Superscape\n");
            form4.append("Phil Huxley, Tao\n");
            form4.setCommandListener(this);
            form4.addCommand(h);
            a_javax_microedition_lcdui_Display_fld.setCurrent(form4);
        }
        System.gc();
    }

    public d a_d_fld;
    public Form a_javax_microedition_lcdui_Form_fld;
    public Display a_javax_microedition_lcdui_Display_fld;
    public Command b_javax_microedition_lcdui_Command_fld;
    public Command i;
    public Command g;
    public Command e;
    public Command d;
    public Command a_javax_microedition_lcdui_Command_fld;
    public Command f;
    public Command h;
    public Command c_javax_microedition_lcdui_Command_fld;
    public TextField c_javax_microedition_lcdui_TextField_fld;
    public TextField b_javax_microedition_lcdui_TextField_fld;
    public TextField a_javax_microedition_lcdui_TextField_fld;
    public c a_c_fld;
    public Thread a_java_lang_Thread_fld;
    public boolean a_boolean_fld;
    public Timer iTimer;
}

⌨️ 快捷键说明

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