home *** CD-ROM | disk | FTP | other *** search
- package netscape.applet;
-
- class DerivedAppletFrame$DestroyAppletEvent extends DerivedAppletFrame.AppletEvent {
- // $FF: synthetic field
- private final DerivedAppletFrame this$DerivedAppletFrame;
-
- public void dispatch() {
- Object var1 = this.this$DerivedAppletFrame.m_statusLock;
- synchronized(var1){}
-
- try {
- switch (this.this$DerivedAppletFrame.status) {
- case 1:
- case 2:
- case 7:
- case 8:
- case 9:
- return;
- case 3:
- this.this$DerivedAppletFrame.status = 7;
- break;
- case 4:
- case 5:
- case 6:
- ((DerivedAppletFrame.AppletEvent)this).redispatchWhen(3);
- return;
- default:
- this.this$DerivedAppletFrame.wrongState("cannot destroy", this.this$DerivedAppletFrame.statusToString(this.this$DerivedAppletFrame.status));
- return;
- }
- } catch (Throwable var8) {
- throw var8;
- }
-
- SecurityManager.enablePrivilege("UniversalThreadAccess");
- this.this$DerivedAppletFrame.applet.destroy();
- SecurityManager.revertPrivilege();
- this.this$DerivedAppletFrame.hide();
- var1 = this.this$DerivedAppletFrame.m_statusLock;
- synchronized(var1){}
-
- try {
- this.this$DerivedAppletFrame.status = 8;
- this.this$DerivedAppletFrame.rightState("destroyed");
- this.this$DerivedAppletFrame.m_statusLock.notifyAll();
- } catch (Throwable var7) {
- throw var7;
- }
-
- }
-
- DerivedAppletFrame$DestroyAppletEvent(DerivedAppletFrame var1) {
- super(var1);
- this.this$DerivedAppletFrame = var1;
- this.this$DerivedAppletFrame = var1;
- }
- }
-