home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIPHEFT062001.ISO / browser / nc32lyc / comm.z / java40.jar / netscape / applet / DerivedAppletFrame$InitAppletEvent.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-08-15  |  2.1 KB  |  65 lines

  1. package netscape.applet;
  2.  
  3. class DerivedAppletFrame$InitAppletEvent extends DerivedAppletFrame.AppletEvent {
  4.    // $FF: synthetic field
  5.    private final DerivedAppletFrame this$DerivedAppletFrame;
  6.  
  7.    public void dispatch() {
  8.       Object var1 = this.this$DerivedAppletFrame.m_statusLock;
  9.       synchronized(var1){}
  10.  
  11.       try {
  12.          if (this.this$DerivedAppletFrame.status != 2) {
  13.             this.this$DerivedAppletFrame.wrongState("can't init", this.this$DerivedAppletFrame.statusToString(this.this$DerivedAppletFrame.status));
  14.             this.this$DerivedAppletFrame.m_statusLock.notifyAll();
  15.             return;
  16.          }
  17.       } catch (Throwable var32) {
  18.          throw var32;
  19.       }
  20.  
  21.       this.this$DerivedAppletFrame.pack();
  22.       this.this$DerivedAppletFrame.show();
  23.       this.this$DerivedAppletFrame.applet.resize(this.this$DerivedAppletFrame.appletSize);
  24.       AppletDebugger.aboutToInit(this.this$DerivedAppletFrame.applet);
  25.       boolean var33 = false;
  26.  
  27.       try {
  28.          this.this$DerivedAppletFrame.applet.init();
  29.          var33 = true;
  30.       } finally {
  31.          if (!var33) {
  32.             Object var4 = this.this$DerivedAppletFrame.m_statusLock;
  33.             synchronized(var4){}
  34.  
  35.             try {
  36.                this.this$DerivedAppletFrame.status = 0;
  37.                this.this$DerivedAppletFrame.m_statusLock.notifyAll();
  38.             } catch (Throwable var29) {
  39.                throw var29;
  40.             }
  41.          }
  42.  
  43.       }
  44.  
  45.       this.this$DerivedAppletFrame.validate();
  46.       Object var2 = this.this$DerivedAppletFrame.m_statusLock;
  47.       synchronized(var2){}
  48.  
  49.       try {
  50.          this.this$DerivedAppletFrame.status = 3;
  51.          this.this$DerivedAppletFrame.rightState("initialized");
  52.          this.this$DerivedAppletFrame.m_statusLock.notifyAll();
  53.       } catch (Throwable var30) {
  54.          throw var30;
  55.       }
  56.  
  57.    }
  58.  
  59.    DerivedAppletFrame$InitAppletEvent(DerivedAppletFrame var1) {
  60.       super(var1);
  61.       this.this$DerivedAppletFrame = var1;
  62.       this.this$DerivedAppletFrame = var1;
  63.    }
  64. }
  65.