if (parent.isDisposed()) return; final Rectangle clientArea = parent.getClientArea(); EventQueue.invokeLater(new Runnable () { public void run () {
		public void run () {			if (parent.isDisposed()) return;			final Rectangle clientArea = parent.getClientArea();			EventQueue.invokeLater(new Runnable () {				public void run () {					frame.setSize (clientArea.width, clientArea.height);					frame.validate ();				}			});		}