Buggy code:
public void close ( ) { } void createBalloonTipHandle ( ) { } void createHandle ( ) { } void createToolTip ( ToolTip toolTip ) { } void createToolTipHandle ( ) { } void deregister ( ) { } void destroyToolTip ( ToolTip toolTip ) { } void destroyWidget ( ) { } public void dispose ( ) { } void enableWidget ( boolean enabled ) { } int findBrush ( int value , int lbStyle ) { } Control findBackgroundControl ( ) { } Cursor findCursor ( ) { } Control findThemeControl ( ) { } ToolTip findToolTip ( int id ) { } void fixActiveShell ( ) { } void fixShell ( Shell newShell , Control control ) { } void fixToolTip ( ) { } public void forceActive ( ) { } void forceResize ( ) { } public int getAlpha ( ) { } public Rectangle getBounds ( ) { } ToolTip getCurrentToolTip ( ) { } ToolTip getCurrentToolTip ( int hwndToolTip ) { } public boolean getEnabled ( ) { } public boolean getFullScreen ( ) { } public int getImeInputMode ( ) { } public Point getLocation ( ) { } public boolean getMaximized ( ) { } public Point getMinimumSize ( ) { } public boolean getModified ( ) { } public Region getRegion ( ) { } public Shell getShell ( ) { } public Point getSize ( ) { } public Shell [ ] getShells ( ) { } Composite findDeferredControl ( ) { } public boolean isEnabled ( ) { } public boolean isVisible ( ) { } int hwndMDIClient ( ) { } public void open ( ) { } public boolean print ( GC gc ) { } void register ( ) { } void releaseBrushes ( ) { } void releaseChildren ( boolean destroy ) { } void releaseHandle ( ) { } void releaseParent ( ) { } void releaseWidget ( ) { } void removeMenu ( Menu menu ) { } public void removeShellListener ( ShellListener listener ) { } LRESULT selectPalette ( int hPalette ) { } boolean sendKeyEvent ( int type , int msg , int wParam , int lParam , Event event ) { } public void setActive ( ) { } void setActiveControl ( Control control ) { } public void setAlpha ( int alpha ) { } void setBounds ( int x , int y , int width , int height , int flags , boolean defer ) { } public void setEnabled ( boolean enabled ) { } public void setFullScreen ( boolean fullScreen ) { } public void setImeInputMode ( int mode ) { } public void setMinimumSize ( int width , int height ) { } public void setMinimumSize ( Point size ) { } public void setModified ( boolean modified ) { } void setItemEnabled ( int cmd , boolean enabled ) { } void setParent ( ) { } public void setRegion ( Region region ) { } void setToolTipText ( int hwnd , String text ) { } void setToolTipText ( NMTTDISPINFO lpnmtdi , byte [ ] buffer ) { } void setToolTipText ( NMTTDISPINFO lpnmtdi , char [ ] buffer ) { } void setToolTipTitle ( int hwndToolTip , String text , int icon ) { } public void setVisible ( boolean visible ) { } void subclass ( ) { } int toolTipHandle ( ) { } boolean translateAccelerator ( MSG msg ) { } boolean traverseEscape ( ) { } void unsubclass ( ) { } void updateModal ( ) { } CREATESTRUCT widgetCreateStruct ( ) { } int widgetParent ( ) { } int widgetExtStyle ( ) { } TCHAR windowClass ( ) { } int windowProc ( ) { } int windowProc ( int hwnd , int msg , int wParam , int lParam ) { if ( ( handle ) == 0 ) return 0 ; if ( ( hwnd == ( toolTipHandle ) ) || ( hwnd == ( balloonTipHandle ) ) ) { switch ( msg ) { case OS . WM_TIMER : { if ( wParam != ( ToolTip . TIMER_ID ) ) break ; ToolTip tip = getCurrentToolTip ( hwnd ) ; if ( ( tip != null ) && ( tip . autoHide ) ) { tip . setVisible ( false ) ; } break ; } case OS . WM_LBUTTONDOWN : { ToolTip tip = getCurrentToolTip ( hwnd ) ; if ( tip != null ) { tip . setVisible ( false ) ; <START_BUG> tip . postEvent ( Selection ) ; <END_BUG> } break ; } } return callWindowProc ( hwnd , msg , wParam , lParam ) ; } return super . windowProc ( hwnd , msg , wParam , lParam ) ; } int widgetStyle ( ) { } LRESULT WM_ACTIVATE ( int wParam , int lParam ) { } LRESULT WM_COMMAND ( int wParam , int lParam ) { } LRESULT WM_DESTROY ( int wParam , int lParam ) { } LRESULT WM_ERASEBKGND ( int wParam , int lParam ) { } LRESULT WM_ENTERIDLE ( int wParam , int lParam ) { } LRESULT WM_GETMINMAXINFO ( int wParam , int lParam ) { } LRESULT WM_MOUSEACTIVATE ( int wParam , int lParam ) { } LRESULT WM_MOVE ( int wParam , int lParam ) { } LRESULT WM_NCHITTEST ( int wParam , int lParam ) { } LRESULT WM_NCLBUTTONDOWN ( int wParam , int lParam ) { } LRESULT WM_PALETTECHANGED ( int wParam , int lParam ) { } LRESULT WM_QUERYNEWPALETTE ( int wParam , int lParam ) { } LRESULT WM_SETCURSOR ( int wParam , int lParam ) { } LRESULT WM_SETTINGCHANGE ( int wParam , int lParam ) { } LRESULT WM_SHOWWINDOW ( int wParam , int lParam ) { } LRESULT WM_SYSCOMMAND ( int wParam , int lParam ) { } LRESULT WM_WINDOWPOSCHANGING ( int wParam , int lParam ) { } }

Fix:
tip . sendSelectionEvent ( Selection ) ;