home *** CD-ROM | disk | FTP | other *** search
- package netscape.applet;
-
- class DerivedAppletFrame$AppletEvent$RedispatcherThread extends Thread {
- // $FF: synthetic field
- private final DerivedAppletFrame.AppletEvent this$AppletEvent;
- int m_correctState;
- DerivedAppletFrame.AppletEvent m_event;
-
- DerivedAppletFrame$AppletEvent$RedispatcherThread(DerivedAppletFrame.AppletEvent var1, int var2, DerivedAppletFrame.AppletEvent var3) {
- super("Event-Redispatcher (" + var3 + ")");
- this.this$AppletEvent = var1;
- this.this$AppletEvent = var1;
- this.m_event = var3;
- this.m_correctState = var2;
- }
-
- public void run() {
- try {
- Object var1 = this.this$AppletEvent.this$DerivedAppletFrame.m_statusLock;
- synchronized(var1){}
-
- try {
- while(this.this$AppletEvent.this$DerivedAppletFrame.status != this.m_correctState) {
- if (this.this$AppletEvent.this$DerivedAppletFrame.status == 0 || this.this$AppletEvent.this$DerivedAppletFrame.status == 9) {
- return;
- }
-
- this.this$AppletEvent.this$DerivedAppletFrame.m_statusLock.wait();
- }
- } catch (Throwable var5) {
- throw var5;
- }
- } catch (InterruptedException var6) {
- this.this$AppletEvent.this$DerivedAppletFrame.showAppletException(var6, "interrupted while waiting to re-dispatch " + this.m_event);
- return;
- }
-
- this.this$AppletEvent.this$DerivedAppletFrame.eq.postEvent(this.m_event);
- }
-
- public String toString() {
- return "RedispatcherThread[" + this.m_event + "," + this.this$AppletEvent.this$DerivedAppletFrame.statusToString(this.m_correctState) + "]";
- }
- }
-