home *** CD-ROM | disk | FTP | other *** search
- import javax.microedition.lcdui.Command;
- import javax.microedition.lcdui.Displayable;
- import javax.microedition.lcdui.Form;
- import javax.microedition.lcdui.StringItem;
-
- // $FF: renamed from: q
- public class class_0 extends Form {
- // $FF: renamed from: a javax.microedition.lcdui.Command
- private static final Command field_0 = new Command("Yes", 4, 1);
- // $FF: renamed from: c javax.microedition.lcdui.Command
- private static final Command field_1 = new Command("No", 3, 1);
- // $FF: renamed from: b javax.microedition.lcdui.Displayable
- private final Displayable field_2;
- // $FF: renamed from: d javax.microedition.lcdui.StringItem
- public StringItem field_3;
-
- public class_0(String var1) throws Exception {
- super("eMSN");
- this.addCommand(field_0);
- this.addCommand(field_1);
- this.field_3 = new StringItem("", var1);
- this.append(this.field_3);
- this.field_2 = ad.e.getCurrent();
- this.setCommandListener(ad.n);
- ad.a(this);
- }
-
- // $FF: renamed from: a () void
- private void method_0() {
- ad.a(this.field_2);
- }
-
- // $FF: renamed from: b () boolean
- public boolean method_1() throws Exception {
- ac var1 = ad.n;
-
- while(true) {
- Command var2 = var1.b();
- if (var2 == field_1) {
- this.method_0();
- return false;
- }
-
- if (var2 == field_0) {
- this.method_0();
- return true;
- }
-
- Thread.sleep(200L);
- }
- }
- }
-