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

📄 bd.java

📁 经过反编译和部分代码修改后的ultraimpro java源代码。可在netbean环境下成功编译。供学习和分析用。
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
            int i1;
            if((i1 = getSelectedIndex()) < 0)
                return;
            String s2 = (String)a_java_util_Vector_fld.elementAt(i1);
            ab ab3;
            if((ab3 = a_e_fld.a(s2)) == null)
            {
                a(s2, i1);
                return;
            }
            if(sSignInState.equals("HDN"))
            {
                Alert alert1;
                (alert1 = new Alert("", "Can't send/receive messages because your status is 'Appear offline'.", null, AlertType.INFO)).setTimeout(-2);
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(alert1);
                return;
            }
            if(ab3.a_az_fld.CurrentStateAbbr.equals("FLN") || ab3.a_java_util_Hashtable_fld.containsKey(e.a_mod_toI("BL")))
            {
                Alert alert2;
                (alert2 = new Alert("", "Can't send a message because he/she is offline or blocked.", null, AlertType.INFO)).setTimeout(-2);
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(alert2);
                return;
            }
            String s3 = ab3.b;
            while(f_boolean_static_fld && k.equals(s2)) 
                try
                {
                    Thread.sleep(100L);
                }
                catch(Exception _ex) { }
            f_boolean_static_fld = true;
            k = s2;
            bj bj1;
            if((bj1 = (bj)b_java_util_Hashtable_fld.get(s2)) == null)
            {
                Form form;
                (form = new Form("")).append("Initializing, please wait");
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(form);
                (new bn(this, this, s2, s3, ab3.a_az_fld.CurrentStateAbbr)).start();
                return;
            } else
            {
                f_boolean_static_fld = false;
                k = "";
                bj1.UpdateDisplay(true);
                return;
            }
        }
        if(command == UltraIMPro.h_CommandConversations)
        {
            a_boolean_fld = false;
            f();
            return;
        }
        if(command == UltraIMPro.F_CommandSignOut)
        {
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new bk(this, "Are you sure to sign out MSN?", 5));
            return;
        }
        if(command == UltraIMPro.v_CommandMySettings)
        {
            bb bb1 = new bb(this, "My Settings", 1, strAccntName, d_java_lang_String_fld);
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(bb1);
            return;
        }
        if(command == UltraIMPro.x_CommandBlockUnBlock)
        {
            String s = (String)a_java_util_Vector_fld.elementAt(getSelectedIndex());
            ab ab1;
            if((ab1 = a_e_fld.a(s)) == null)
                return;
            if(ab1.a_java_util_Hashtable_fld.containsKey(e.a_mod_toI("AL")))
            {
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new bk(this, "Are you sure to BLOCK this contact : " + s, 9));
                return;
            } else
            {
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new bk(this, "Are you sure to UNBLOCK this contact : " + s, 10));
                return;
            }
        }
        if(command == UltraIMPro.y_CommandConfig)
        {
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new k(this, 1));
            return;
        }
        if(command == UltraIMPro.w_CommandMyPicture)
            if(MainMenuList.GetObject().d_int_fld == 0)
            {
                (new x(this, 0)).a((byte[])null);
                return;
            } else
            {
                Alert alert;
                (alert = new Alert("", "Display picture is OFF now", null, AlertType.INFO)).setTimeout(-2);
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(alert);
                return;
            }
        if(command == UltraIMPro.z_CommandPhotoAlbum)
        {
            MainMenuList.GetObject().a(this, 2, null);
            return;
        }
        if(command == UltraIMPro.A_CommandChatHistory)
        {
            MainMenuList.GetObject().a(this, 1, null);
            return;
        }
        if(command == UltraIMPro.C_CommandRemoveContact)
        {
            String s1 = (String)a_java_util_Vector_fld.elementAt(getSelectedIndex());
            ab ab2;
            if((ab2 = a_e_fld.a(s1)) == null)
            {
                return;
            } else
            {
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new bk(this, "Are you sure to REMOVE this contact : " + s1, 4));
                return;
            }
        }
        if(command == UltraIMPro.B_CommandAddContact)
        {
            bb bb2 = new bb(this, "Add a Contact", 0, null, null);
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(bb2);
            return;
        }
        if(command == UltraIMPro.D_CommandFriendInfo)
        {
            a(getSelectedIndex());
            return;
        }
        if(command == UltraIMPro.b_CommandOk)
        {
            e_boolean_fld = false;
            if(d_int_fld == 7)
            {
                b(true);
                return;
            }
            b(false);
            if(d_int_fld == 6 || d_int_fld == 5)
            {
                MainMenuList.GetObject().GetSignPara((String)null);
                return;
            }
            if(e_int_fld == -200 || e_int_fld == -101 || e_int_fld == -3)
            {
                UltraIMPro.a_UltraIMPro_static_fld.notifyDestroyed();
                return;
            } else
            {
                MainMenuList.GetObject().h();
                return;
            }
        }
        if(command == UltraIMPro.E_CommandKeyLock)
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new ad(1, this, null, null, null));
    }

    public final void a(String s, String s1, String s2, String s3, String s4, boolean flag)
    {
        i i1 = null;
        int j1 = 0;
        int k1 = 0;
        if(b_int_fld == 0)
        {
            int l1 = (i1 = (i)a_java_util_Hashtable_fld.get(s4)).a_int_fld;
            j1 = a_java_util_Vector_fld.indexOf(String.valueOf(l1));
            k1 = a_java_util_Vector_fld.indexOf(String.valueOf(l1 + 1));
        }
        int i2 = a_java_util_Vector_fld.indexOf(s);
        if(s2.equals(s3) || !s2.equals("FLN") && !s3.equals("FLN"))
        {
            if(i2 == -1)
                return;
            boolean flag1 = false;
            if(getSelectedIndex() == i2)
                flag1 = true;
            delete(i2);
            if(size() == i2)
            {
                if(flag)
                {
                    if(s3.equals("FLN"))
                        append(s1, w.h);
                    else
                        append(s1, w.g);
                } else
                {
                    append(s1, (Image)w.a_java_util_Hashtable_static_fld.get(s3));
                }
            } else
            if(flag)
            {
                if(s3.equals("FLN"))
                    insert(i2, s1, w.h);
                else
                    insert(i2, s1, w.g);
            } else
            {
                insert(i2, s1, (Image)w.a_java_util_Hashtable_static_fld.get(s3));
            }
            if(flag1)
            {
                setSelectedIndex(i2, true);
                return;
            }
        } else
        {
            if(s2.equals("FLN"))
            {
                b_i_fld.b(s);
                a_i_fld.a(s);
                if(i2 >= 0)
                {
                    a_java_util_Vector_fld.removeElementAt(i2);
                    delete(i2);
                }
                if(b_int_fld == 1)
                {
                    j1 = 0;
                    if(!a_i_fld.a_boolean_fld)
                        return;
                } else
                if(i1 == null || !i1.a_boolean_fld)
                    return;
                a_java_util_Vector_fld.insertElementAt(s, j1 + 1);
                if(flag)
                {
                    insert(j1 + 1, s1, w.g);
                    return;
                } else
                {
                    insert(j1 + 1, s1, (Image)w.a_java_util_Hashtable_static_fld.get(s3));
                    return;
                }
            }
            if(s3.equals("FLN"))
            {
                a_i_fld.b(s);
                b_i_fld.a(s);
                if(b_int_fld == 1)
                {
                    k1 = -1;
                    if(!b_i_fld.a_boolean_fld)
                    {
                        if(i2 >= 0)
                        {
                            a_java_util_Vector_fld.removeElementAt(i2);
                            delete(i2);
                        }
                        return;
                    }
                } else
                if(i1 == null || !i1.a_boolean_fld)
                    return;
                if(k1 == -1)
                {
                    a_java_util_Vector_fld.addElement(s);
                    if(flag)
                        append(s1, w.h);
                    else
                        append(s1, (Image)w.a_java_util_Hashtable_static_fld.get(s3));
                } else
                {
                    a_java_util_Vector_fld.insertElementAt(s, k1);
                    if(flag)
                        insert(k1, s1, w.h);
                    else
                        insert(k1, s1, (Image)w.a_java_util_Hashtable_static_fld.get(s3));
                }
                if(i2 >= 0)
                {
                    a_java_util_Vector_fld.removeElementAt(i2);
                    delete(i2);
                }
            }
        }
    }

    public final void e()
    {
        if(b_java_util_Vector_fld == null || b_java_util_Vector_fld.size() == 0)
            return;
        for(int i1 = 0; i1 < b_java_util_Vector_fld.size(); i1++)
            ((bj)b_java_util_Vector_fld.elementAt(i1)).e(false);

        if(b_java_util_Hashtable_fld != null)
            b_java_util_Hashtable_fld.clear();
        b_java_util_Vector_fld.removeAllElements();
    }

    public final void a(bj bj1)
    {
        String s;
        if(!(s = bj1.a_java_lang_String_fld).equals(""))
            b_java_util_Hashtable_fld.remove(s);
        String s1;
        if(!(s1 = bj1.b_java_lang_String_fld).equals("Multiway"))
            b_java_util_Hashtable_fld.remove(s1);
        b_java_util_Vector_fld.removeElement(bj1);
        f();
    }

    public final void f()
    {
        if(b_java_util_Vector_fld.size() <= 0)
        {
            if(isShown())
            {
                Alert alert;
                (alert = new Alert("", "There is no conversation alive!", null, AlertType.INFO)).setTimeout(-2);
                UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(alert);
                return;
            } else
            {
                h();
                return;
            }
        } else
        {
            ba ba1 = new ba(b_java_util_Vector_fld, this, null, 0, null);
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(ba1);
            return;
        }
    }

    public final void a(int i1)
    {
        Object obj = null;
        ab ab1;
        if((ab1 = a_e_fld.a((String)a_java_util_Vector_fld.elementAt(i1))) != null)
        {
            String s = "Status : " + PresenceStringHash_az.GetUserStateDescriptor(ab1.a_az_fld.CurrentStateAbbr) + "\n";
            s = s + "Display Name : " + ab1.b + "\n";
            s = s + "E-mail : " + ab1.a_java_lang_String_fld;
            UltraIMPro.a_javax_microedition_lcdui_Display_static_fld.setCurrent(new bk(this, s, 6));
        }
    }

    public final String a_mod_tos(String s)
    {
        String s1 = null;
        ab ab1;
        if((ab1 = a_e_fld.a(s)) != null)
            s1 = ab1.d;
        return s1;
    }

    public final void a(String s, int i1)
    {
        i j1;
        if(b_int_fld == 0)
        {
            if((j1 = (i)a_java_util_Hashtable_fld.get(s)) == null)
                return;
        } else
        if(Integer.parseInt(s) == 0)
            j1 = a_i_fld;
        else
            j1 = b_i_fld;
        if(j1.a_boolean_fld)
        {
            j1.a_boolean_fld = false;
            String s1 = getString(i1);
            delete(i1);
            if(size() == i1)
                append(s1, w.f);
            else
                insert(i1, s1, w.f);
            setSelectedIndex(i1, true);
            int k1;
            if((k1 = a_java_util_Vector_fld.indexOf(String.valueOf(j1.a_int_fld + 1))) == -1)
                k1 = a_java_util_Vector_fld.size();
            for(int l1 = i1 + 1; l1 < k1; l1++)
            {
                a_java_util_Vector_fld.removeElementAt(i1 + 1);
                delete(i1 + 1);
            }

        } else
        {
            j1.a_boolean_fld = true;
            String s2 = getString(i1);
            delete(i1);
            if(size() == i1)
                append(s2, w.e);

⌨️ 快捷键说明

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