if (fApplicationRefHandler != 0) { OS.RemoveEventHandler(fApplicationRefHandler); fApplicationRefHandler= 0; } if (fFocusRefHandler != 0) { OS.RemoveEventHandler(fFocusRefHandler); fFocusRefHandler= 0; } if (fToolTipRefHandler != 0) { OS.RemoveEventHandler(fToolTipRefHandler); fToolTipRefHandler= 0; }
void destroyDisplay () {	// dispose Callbacks	Iterator iter= fCallbacks.iterator();	while (iter.hasNext()) {		Callback cb= (Callback) iter.next();		cb.dispose();	}	fCallbacks= null;}