frame.removeListener(SWT.Move, listener);
private void onDispose(Event e) {	doVerb(OLE.OLEIVERB_DISCARDUNDOSTATE);		releaseObjectInterfaces(); // Note, must release object interfaces before releasing frame	deleteTempStorage();		// remove listeners	removeListener(SWT.Resize, listener);	removeListener(SWT.Move, listener);	removeListener(SWT.Dispose, listener);	frame.removeListener(SWT.Resize, listener);	frame.Release();	frame = null;}