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

📄 b.java

📁 短信宝典Java源码
💻 JAVA
字号:
// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 

package smsq;

import com.siemens.mp.gsm.SMS;
import java.util.Calendar;
import javax.microedition.lcdui.*;

// Referenced classes of package smsq:
//            e, c, MIDlet1, d

public class b extends Form
    implements CommandListener
{

    public b(Display display)
    {
        super("\u77ED\u4FE1\u5B9D\u5178");
        _fldcase = -1;
        try
        {
            _mthif();
            _fldelse = display;
            _fldelse.setCurrent(_fldgoto);
        }
        catch(Exception exception)
        {
            exception.printStackTrace();
        }
    }

    private void _mthif()
        throws Exception
    {
        _fldchar = new Command("\u83DC\u5355", 1, 1);
        _fldnew = new Command("\u53D1\u9001", 4, 0);
        _flddo = new Command("\u9000\u51FA", 7, 2);
        _fldnull = new Command("\u597D\u7684", 4, 0);
        b = new Command("\u53D6\u6D88", 7, 0);
        _fldint = new Alert("\u795D\u8D3A", "\u77ED\u4FE1\u5DF2\u7ECF\u6210\u529F\u53D1\u9001\uFF01", null, AlertType.INFO);
        _fldint.setTimeout(2500);
        _fldbyte = new Alert("\u6CE8\u610F", "\u77ED\u4FE1\u6CA1\u6709\u6210\u529F\u53D1\u9001\uFF0C\u8BF7\u518D\u8BD5\u4E00\u6B21\uFF01", null, AlertType.WARNING);
        _fldbyte.setTimeout(2500);
        _fldlong = new String[7];
        _fldlong[0] = "\u5E7D\u9ED8\u77ED\u4FE1(1)";
        _fldlong[1] = "\u5E7D\u9ED8\u77ED\u4FE1(2)";
        _fldlong[2] = "\u5E7D\u9ED8\u77ED\u4FE1(3)";
        _fldlong[3] = "\u5E7D\u9ED8\u77ED\u4FE1(4)";
        _fldlong[4] = "\u5E7D\u9ED8\u77ED\u4FE1(5)";
        _fldlong[5] = "\u5E2E\u52A9";
        _fldlong[6] = "\u5173\u4E8E\u672C\u8F6F\u4EF6";
        _fldgoto = new List("\u77ED\u4FE1\u5B9D\u5178", 3, _fldlong, null);
        _fldgoto.setCommandListener(this);
        addCommand(_fldchar);
        addCommand(_fldnew);
        setCommandListener(this);
    }

    public void commandAction(Command command, Displayable displayable)
    {
        if(command.getCommandType() == 7)
            MIDlet1.a();
        if(command == _fldchar || command == _fldnull)
            _fldelse.setCurrent(_fldgoto);
        if((command == _fldnew) & (displayable == this))
        {
            if(_fldif == null)
            {
                _fldif = new e();
                _fldif.addCommand(_fldnew);
                _fldif.addCommand(b);
                _fldif.setCommandListener(this);
            }
            _fldelse.setCurrent(_fldif);
        }
        if((command == _fldnew) & (displayable == _fldif))
            try
            {
                if(size() > 0)
                {
                    SMS.send(_fldif.a.getString(), _fldfor);
                    _fldelse.setCurrent(_fldint, this);
                }
            }
            catch(Exception exception)
            {
                _fldelse.setCurrent(_fldbyte, this);
            }
        if(command == List.SELECT_COMMAND && displayable == _fldgoto)
        {
            if(_fldcase != _fldgoto.getSelectedIndex())
                switch(_fldgoto.getSelectedIndex())
                {
                case 0: // '\0'
                    a = d.a("humor1.dat");
                    break;

                case 1: // '\001'
                    a = d.a("humor2.dat");
                    break;

                case 2: // '\002'
                    a = d.a("humor3.dat");
                    break;

                case 3: // '\003'
                    a = d.a("humor4.dat");
                    break;

                case 4: // '\004'
                    a = d.a("humor5.dat");
                    break;

                case 5: // '\005'
                case 6: // '\006'
                    a();
                    return;
                }
            _fldcase = _fldgoto.getSelectedIndex();
            a.addCommand(b);
            a.setCommandListener(this);
            _fldelse.setCurrent(a);
        }
        if(command == List.SELECT_COMMAND && displayable == a)
        {
            if(size() > 0)
                delete(size() - 1);
            _fldfor = d.a(a.getSelectedIndex());
            append(_fldfor.substring(2, _fldfor.length()));
            _fldelse.setCurrent(this);
        }
    }

    public void a()
    {
        if(_fldtry == null)
        {
            _fldtry = new c();
            _fldtry.addCommand(_fldnull);
            _fldtry.setCommandListener(this);
        }
        _fldelse.setCurrent(_fldtry);
    }

    public void _mthdo()
    {
        if(_fldtry == null)
        {
            _fldtry = new c();
            _fldtry.addCommand(_fldnull);
            _fldtry.setCommandListener(this);
        }
        Calendar calendar = Calendar.getInstance();
        if(1 != 2002)
        {
            _fldelse.setCurrent(_fldtry);
            MIDlet1.a();
        }
    }

    Command _fldchar;
    Command _fldnew;
    Command _flddo;
    Command _fldvoid;
    Command _fldnull;
    Command b;
    String _fldfor;
    Display _fldelse;
    e _fldif;
    List a;
    Alert _fldint;
    Alert _fldbyte;
    List _fldgoto;
    String _fldlong[];
    c _fldtry;
    int _fldcase;
}

⌨️ 快捷键说明

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