shellMapCallback = new Callback(this, "shellMapProc", 3); shellMapProc = shellMapCallback.getAddress(); if (shellMapProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);
void initializeCallbacks () {	windowCallback2 = new Callback (this, "windowProc", 2);	windowProc2 = windowCallback2.getAddress ();	if (windowProc2 == 0) SWT.error (SWT.ERROR_NO_MORE_CALLBACKS);			windowCallback3 = new Callback (this, "windowProc", 3);	windowProc3 = windowCallback3.getAddress ();	if (windowProc3 == 0) SWT.error (SWT.ERROR_NO_MORE_CALLBACKS);			windowCallback4 = new Callback (this, "windowProc", 4);	windowProc4 = windowCallback4.getAddress ();	if (windowProc4 == 0) SWT.error (SWT.ERROR_NO_MORE_CALLBACKS);			windowCallback5 = new Callback (this, "windowProc", 5);	windowProc5 = windowCallback5.getAddress ();	if (windowProc5 == 0) SWT.error (SWT.ERROR_NO_MORE_CALLBACKS);		timerCallback = new Callback (this, "timerProc", 1);	timerProc = timerCallback.getAddress ();	if (timerProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);	windowTimerCallback = new Callback (this, "windowTimerProc", 1);	windowTimerProc = windowTimerCallback.getAddress ();	if (windowTimerProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);		mouseHoverCallback = new Callback (this, "mouseHoverProc", 1);	mouseHoverProc = mouseHoverCallback.getAddress ();	if (mouseHoverProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);	caretCallback = new Callback(this, "caretProc", 1);	caretProc = caretCallback.getAddress();	if (caretProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);		treeSelectionCallback = new Callback(this, "treeSelectionProc", 4);	treeSelectionProc = treeSelectionCallback.getAddress();	if (treeSelectionProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);}