home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / awt / Window$1$DisposeAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1003 b   |  37 lines

  1. package java.awt;
  2.  
  3. import java.lang.ref.WeakReference;
  4. import java.util.Vector;
  5.  
  6. class Window$1$DisposeAction implements Runnable {
  7.    // $FF: synthetic field
  8.    private final Window this$0;
  9.  
  10.    Window$1$DisposeAction(Window var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    public void run() {
  15.       Vector var1 = this.this$0.ownedWindowList;
  16.       synchronized(var1) {
  17.          for(int var2 = 0; var2 < this.this$0.ownedWindowList.size(); ++var2) {
  18.             Window var3 = (Window)((WeakReference)this.this$0.ownedWindowList.elementAt(var2)).get();
  19.             if (var3 != null) {
  20.                var3.dispose();
  21.             }
  22.          }
  23.       }
  24.  
  25.       this.this$0.hide();
  26.       this.this$0.removeNotify();
  27.       Object var8 = Window.access$000(this.this$0);
  28.       synchronized(var8) {
  29.          if (this.this$0.inputContext != null) {
  30.             this.this$0.inputContext.dispose();
  31.             this.this$0.inputContext = null;
  32.          }
  33.  
  34.       }
  35.    }
  36. }
  37.