public void destroy() {

		bgComboBox.destroy();

		ActionListener[] al = okButton.getActionListeners();
		if (al != null) {
			for (ActionListener i : al)
				okButton.removeActionListener(i);
		}
		al = cancelButton.getActionListeners();
		if (al != null) {
			for (ActionListener i : al)
				cancelButton.removeActionListener(i);
		}
		WindowListener[] wl = getWindowListeners();
		if (wl != null) {
			for (WindowListener i : wl)
				removeWindowListener(i);
		}

		getContentPane().removeAll();

		try {
			finalize();
		}
		catch (Throwable t) {
			t.printStackTrace(System.err);
		}
		dispose();

		bgComboBox = null;
		page = null;

	}