bk.java

来自「经过反编译和部分代码修改后的ultraimpro java源代码。可在netbe」· Java 代码 · 共 92 行

JAVA
92
字号
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 2006-5-1 19:31:42
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 

import javax.microedition.lcdui.*;

public final class bk extends Form
    implements CommandListener
{

    public bk(an an1, String s, int i)
    {
        super("");
        a_an_fld = an1;
        a_int_fld = i;
        a_boolean_fld = false;
        switch(i)
        {
        case 1: // '\001'
            append("For more help at http://www.mobisophy.com and support@mobisophy.com");
            break;

        case 2: // '\002'
            Image image = null;
            try
            {
                image = Image.createImage("/icon.png");
            }
            catch(Exception _ex) { }
            append(image);
            get(0).setLayout(512);
            append(a_java_lang_String_static_fld);
            break;

        case 3: // '\003'
            a_javax_microedition_lcdui_ChoiceGroup_fld = new ChoiceGroup("", 2, new String[] {
                "Don't display this message again"
            }, null);
            a_javax_microedition_lcdui_ChoiceGroup_fld.setFitPolicy(1);
            append("Privacy statement: UltraIM Pro needs to verify your trial period or licence by sending your MSN account or registration key to our server. The data is only used for such a purpose.\r\nConnection prompt: UltraIM Pro needs full Internet connection over GPRS instead of WAP or MMS connection. If connection confirmation shows up repeatly, configure your phone's application settings to permit connection always.");
            get(0).setLayout(512);
            append(a_javax_microedition_lcdui_ChoiceGroup_fld);
            addCommand(UltraIMPro.f_CommandBack);
            break;

        case 6: // '\006'
            append(s);
            break;

        case 4: // '\004'
        case 5: // '\005'
        default:
            append(s);
            addCommand(UltraIMPro.f_CommandBack);
            break;
        }
        addCommand(UltraIMPro.b_CommandOk);
        setCommandListener(this);
    }

    public final void commandAction(Command command, Displayable displayable)
    {
        if(command == UltraIMPro.b_CommandOk)
        {
            if(a_int_fld == 3)
            {
                boolean aflag[] = new boolean[1];
                a_javax_microedition_lcdui_ChoiceGroup_fld.getSelectedFlags(aflag);
                a_boolean_fld = aflag[0];
            }
            a_an_fld.a(a_int_fld, a_boolean_fld);
            return;
        }
        if(command == UltraIMPro.f_CommandBack)
        {
            if(a_int_fld == 3)
            {
                boolean aflag1[] = new boolean[1];
                a_javax_microedition_lcdui_ChoiceGroup_fld.getSelectedFlags(aflag1);
                a_boolean_fld = aflag1[0];
            }
            a_an_fld.b(a_int_fld, a_boolean_fld);
        }
    }

    public static String a_java_lang_String_static_fld = "UltraIM Pro Instant Messenger for MSN\r\nv" + "1.10.001p".substring(0, "1.10.001p".lastIndexOf('.')) + ", J2ME Edition\r\n" + "Copyright(C) 2006 Mobisophy, Inc. All Rights Reserved.\r\n" + "To buy a license at http://www.mobisophy.com\r\n" + "Technical support at support@mobisophy.com\r\n" + "MSN is a trademark of Microsoft Corporation";
    public an a_an_fld;
    private int a_int_fld;
    private boolean a_boolean_fld;
    private ChoiceGroup a_javax_microedition_lcdui_ChoiceGroup_fld;

}

⌨️ 快捷键说明

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