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

📄 about.java

📁 手机VNC程式, 利用手机远端桌面的源码, 使用J2ME编程
💻 JAVA
字号:
// NMI's Java Code Viewer 6.0a
// www.trinnion.com/javacodeviewer

// Registered to Registered User - Enterprise License                 
// Generated Wed Dec 31 2003 12:05:11 


package tk.wetnet.j2me.vnc;

import f;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import javax.microedition.rms.RecordStore;

public class About extends MIDlet
    implements CommandListener {

    public Command f;
    public Command h;
    public Command l;
    public Command g;
    public Command a;
    public Command d;
    public Command m;
    public f e;
    public Form b;
    public Image j;
    public Alert n;
    public Alert i;
    public Alert k;
    public Alert c;

    public About() {
        f = new Command("Exit", 7, 0);
        h = new Command("Reset Hosts", 1, 1);
        l = new Command("GPL", 1, 1);
        g = new Command("MIT", 1, 1);
        a = new Command("Translators", 1, 0);
        d = new Command("OK", 4, 1);
        m = new Command("Button Layout", 1, 1);
        e = new f();
        b = new Form("About");
        j = null;
        n = null;
        i = null;
        k = null;
        c = null;
        try {
            Image image = Image.createImage("/VNC.png");
            j = Image.createImage("/about.png");
            b.append(image);
        }
        catch(Throwable throwable) { }
        b.append("J2ME VNC\nCopyright (C) Michael Lloyd Lee 2003 All Rights Reserved\nJ2ME is released under the GPL, with the DesCipher code covered by the MIT.\nMark Goodwin for the original ant build file.\nKonrad Brunner (winnipuschka) for helping to fix the problems on Nokia phones.\n");
        n = new Alert("GPL", "The basics of it is you a free to download, and share (redistribute) it, or modified version of it, as long as they are also GPL'ed.\nVNC RFB\nCopyright (C) 1999 AT&T Laboratories\nCambridge.  All Rights Reserved.", j, AlertType.INFO);
        f _tmp = e;
        f _tmp1 = e;
        f _tmp2 = e;
        f _tmp3 = e;
        f _tmp4 = e;
        f _tmp5 = e;
        c = new Alert("Button Layout", "Up:" + e.getKeyName(e.getKeyCode(1)) + "\nDown:" + e.getKeyName(e.getKeyCode(6)) + "\nLeft:" + e.getKeyName(e.getKeyCode(2)) + "\nRight:" + e.getKeyName(e.getKeyCode(5)) + "\nPrimary Fire:" + e.getKeyName(e.getKeyCode(8)) + "\nSecondary Fire:" + e.getKeyName(e.getKeyCode(9)), j, AlertType.INFO);
        i = new Alert("MIT", "The DesCipher is released under a MIT/BSD like lience. This basicly means anyone is free to do as they wish with the code, as long as the author is given credit.\nCopyright (c) 1996 Widget Workshop, Inc. All Rights Reserved.\nCopyright (C) 1996 by Jef Poskanzer <jef@acme.com>.All rights reserved.", j, AlertType.INFO);
        k = new Alert("Translators", "Thanks to the following people, I can provide downloads in many diffrent languages\nSteffen Menne\nfor the German version\nAngela Antoniou\nfor the Greek version\nNythil\nfor the Polish version\nEmeric Laroche\nfor the French version", j, AlertType.INFO);
        n.setTimeout(-2);
        i.setTimeout(-2);
        k.setTimeout(-2);
        b.addCommand(f);
        b.addCommand(l);
        b.addCommand(m);
        b.addCommand(g);
        b.addCommand(a);
        b.addCommand(h);
        b.setCommandListener(this);
    }

    public void commandAction(Command command, Displayable displayable) {
        if(command == f)
            notifyDestroyed();
        else
        if(command == l)
            Display.getDisplay(this).setCurrent(n);
        else
        if(command == g)
            Display.getDisplay(this).setCurrent(i);
        else
        if(command == a)
            Display.getDisplay(this).setCurrent(k);
        else
        if(command == a)
            Display.getDisplay(this).setCurrent(k);
        else
        if(command == m)
            Display.getDisplay(this).setCurrent(c);
        else
        if(command == d)
            Display.getDisplay(this).setCurrent(b);
        else
        if(command == h)
            try {
                RecordStore.deleteRecordStore("hosts");
            }
            catch(Throwable throwable) { }
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean flag) throws MIDletStateChangeException {
    }

    public void startApp() throws MIDletStateChangeException {
        Display.getDisplay(this).setCurrent(b);
    }
}

⌨️ 快捷键说明

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