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

📄 y.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
字号:
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Item;
import javax.microedition.lcdui.ItemCommandListener;
import javax.microedition.lcdui.StringItem;

public final class y extends StringItem
  implements ItemCommandListener
{
  public static Command a;
  private int a;

  public y(String paramString)
  {
    super("", paramString + "\n");
    this.jdField_a_of_type_Int = 0;
  }

  public final void a(int paramInt, String paramString)
  {
    if ((paramString.startsWith(w.Q[8])) || (paramString.startsWith("系统")))
      return;
    if (jdField_a_of_type_JavaxMicroeditionLcduiCommand == null)
      jdField_a_of_type_JavaxMicroeditionLcduiCommand = new Command("回复", 8, 2);
    this.jdField_a_of_type_Int = paramInt;
    addCommand(jdField_a_of_type_JavaxMicroeditionLcduiCommand);
    setItemCommandListener(this);
  }

  public final void commandAction(Command paramCommand, Item paramItem)
  {
    int i;
    if (be.a.b == null)
      return;
    if ((i = ((y)paramItem).jdField_a_of_type_Int) == aq.a().c)
      return;
    if (i > 10)
    {
      String str1 = super.getText();
      String str2 = super.getText().substring(3, str1.indexOf(":"));
      for (int j = 0; j < w.X.length; ++j)
        if (w.X[j].equals(str2))
          return;
      be.a.b.setLabel("与[" + str2 + "]聊天:");
      be.G = 1;
      be.u = i;
    }
  }

  static
  {
    jdField_a_of_type_JavaxMicroeditionLcduiCommand = null;
  }
}

⌨️ 快捷键说明

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