frame.setSize (rect.width, rect.height); frame.validate ();
frame.dispatchEvent (new ComponentEvent (frame, ComponentEvent.COMPONENT_MOVED));
				public void run () {					frame.setSize (rect.width, rect.height);					frame.validate ();				}