for (int i = 0; i < ncomponents; ++i) component[i].removeNotify(); this.removeNotify(); }
for (int i = 0; i < ncomponents; ++i) component[i].removeNotify(); this.removeNotify();   WindowEvent we = new WindowEvent(this, WindowEvent.WINDOW_CLOSED); getToolkit().getSystemEventQueue().postEvent(we); } }
	public void dispose() {		hide();		Window[] list = getOwnedWindows();		for (int i = 0; i < list.length; i++)			list[i].dispose();		for (int i = 0; i < ncomponents; ++i)			component[i].removeNotify();		this.removeNotify();	}