home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- import java.lang.ref.WeakReference;
-
- class Window$1DisposeAction implements Runnable {
- // $FF: synthetic field
- final Window this$0;
-
- Window$1DisposeAction(Window var1) {
- this.this$0 = var1;
- }
-
- public void run() {
- GraphicsDevice var1 = this.this$0.getGraphicsConfiguration().getDevice();
- if (var1.getFullScreenWindow() == this.this$0) {
- var1.setFullScreenWindow((Window)null);
- }
-
- Object[] var2;
- synchronized(this.this$0.ownedWindowList) {
- var2 = new Object[this.this$0.ownedWindowList.size()];
- this.this$0.ownedWindowList.copyInto(var2);
- }
-
- for(int var3 = 0; var3 < var2.length; ++var3) {
- Window var4 = (Window)((WeakReference)((WeakReference)var2[var3])).get();
- if (var4 != null) {
- var4.disposeImpl();
- }
- }
-
- this.this$0.hide();
- this.this$0.beforeFirstShow = true;
- this.this$0.removeNotify();
- synchronized(Window.access$200(this.this$0)) {
- if (this.this$0.inputContext != null) {
- this.this$0.inputContext.dispose();
- this.this$0.inputContext = null;
- }
- }
-
- this.this$0.clearCurrentFocusCycleRootOnHide();
- }
- }
-