Buggy code:
public class Table extends Composite { TableItem [ ] items ; TableColumn [ ] columns ; int columnCount ; int customCount ; ImageList imageList ; ImageList headerImageList ; TableItem currentItem ; TableColumn sortColumn ; RECT focusRect ; int headerToolTipHandle ; boolean ignoreCustomDraw ; boolean ignoreDrawForeground ; boolean ignoreDrawBackground ; boolean ignoreDrawFocus ; boolean ignoreDrawSelection ; boolean ignoreDrawHot ; boolean customDraw ; boolean dragStarted ; boolean explorerTheme ; boolean firstColumnImage ; boolean fixScrollWidth ; boolean tipRequested ; boolean wasSelected ; boolean wasResized ; boolean ignoreActivate ; boolean ignoreSelect ; boolean ignoreShrink ; boolean ignoreResize ; boolean ignoreColumnMove ; boolean ignoreColumnResize ; boolean fullRowSelect ; int itemHeight ; int lastIndexOf ; int lastWidth ; int sortDirection ; int resizeCount ; int selectionForeground ; int hotIndex ; static int HeaderProc ; static final int INSET = 4 ; static final int GRID_WIDTH = 1 ; static final int SORT_WIDTH = 10 ; static final int HEADER_MARGIN = 12 ; static final int HEADER_EXTRA = 3 ; static final int VISTA_EXTRA = 2 ; static final int EXPLORER_EXTRA = 2 ; static final int H_SCROLL_LIMIT = 32 ; static final int V_SCROLL_LIMIT = 16 ; static final boolean EXPLORER_THEME = true ; static final int TableProc ; static final TCHAR TableClass = new TCHAR ( 0 , OS . WC_LISTVIEW , true ) ; public Table ( Composite parent , int style ) { } void _addListener ( int eventType , Listener listener ) { } TableItem _getItem ( int index ) { } public void addSelectionListener ( SelectionListener listener ) { } int callWindowProc ( int hwnd , int msg , int wParam , int lParam ) { } int callWindowProc ( int hwnd , int msg , int wParam , int lParam , boolean forceSelect ) { } static int checkStyle ( int style ) { } LRESULT CDDS_ITEMPOSTPAINT ( NMLVCUSTOMDRAW nmcd , int wParam , int lParam ) { } LRESULT CDDS_ITEMPREPAINT ( NMLVCUSTOMDRAW nmcd , int wParam , int lParam ) { } LRESULT CDDS_POSTPAINT ( NMLVCUSTOMDRAW nmcd , int wParam , int lParam ) { } LRESULT CDDS_PREPAINT ( NMLVCUSTOMDRAW nmcd , int wParam , int lParam ) { } LRESULT CDDS_SUBITEMPOSTPAINT ( NMLVCUSTOMDRAW nmcd , int wParam , int lParam ) { } LRESULT CDDS_SUBITEMPREPAINT ( NMLVCUSTOMDRAW nmcd , int wParam , int lParam ) { } void checkBuffered ( ) { } boolean checkData ( TableItem item , boolean redraw ) { } boolean checkData ( TableItem item , int index , boolean redraw ) { } boolean checkHandle ( int hwnd ) { } protected void checkSubclass ( ) { } public void clear ( int index ) { } public void clear ( int start , int end ) { } public void clear ( int [ ] indices ) { } public void clearAll ( ) { } public Point computeSize ( int wHint , int hHint , boolean changed ) { } void createHandle ( ) { } void createHeaderToolTips ( ) { if ( OS . IsWinCE ) return ; if ( ( headerToolTipHandle ) != 0 ) return ; <START_BUG> headerToolTipHandle = OS . CreateWindowEx ( 0 , new TCHAR ( 0 , OS . TOOLTIPS_CLASS , true ) , null , 0 , CW_USEDEFAULT , 0 , CW_USEDEFAULT , 0 , handle , 0 , OS . GetModuleHandle ( null ) , null ) ; <END_BUG> if ( ( headerToolTipHandle ) == 0 ) error ( ERROR_NO_HANDLES ) ; OS . SendMessage ( headerToolTipHandle , TTM_SETMAXTIPWIDTH , 0 , 32767 ) ; } void createItem ( TableColumn column , int index ) { } void createItem ( TableItem item , int index ) { } void createWidget ( ) { } int defaultBackground ( ) { } void deregister ( ) { } public void deselect ( int [ ] indices ) { } public void deselect ( int index ) { } public void deselect ( int start , int end ) { } public void deselectAll ( ) { } void destroyItem ( TableColumn column ) { } void destroyItem ( TableItem item ) { } void fixCheckboxImageList ( boolean fixScroll ) { } void fixCheckboxImageListColor ( boolean fixScroll ) { } void fixItemHeight ( boolean fixScroll ) { } public TableColumn getColumn ( int index ) { } public int getColumnCount ( ) { } public int [ ] getColumnOrder ( ) { } public TableColumn [ ] getColumns ( ) { } int getFocusIndex ( ) { } public int getGridLineWidth ( ) { } public int getHeaderHeight ( ) { } public boolean getHeaderVisible ( ) { } public TableItem getItem ( int index ) { } public TableItem getItem ( Point point ) { } public int getItemCount ( ) { } public int getItemHeight ( ) { } public TableItem [ ] getItems ( ) { } public boolean getLinesVisible ( ) { } public TableItem [ ] getSelection ( ) { } public int getSelectionCount ( ) { } public int getSelectionIndex ( ) { } public int [ ] getSelectionIndices ( ) { } public TableColumn getSortColumn ( ) { } int getSortColumnPixel ( ) { } public int getSortDirection ( ) { } public int getTopIndex ( ) { } boolean hasChildren ( ) { } boolean hitTestSelection ( int index , int x , int y ) { } int imageIndex ( Image image , int column ) { } int imageIndexHeader ( Image image ) { } public int indexOf ( TableColumn column ) { } public int indexOf ( TableItem item ) { } boolean isCustomToolTip ( ) { } boolean isOptimizedRedraw ( ) { } public boolean isSelected ( int index ) { } void register ( ) { } void releaseChildren ( boolean destroy ) { } void releaseWidget ( ) { } public void remove ( int [ ] indices ) { } public void remove ( int index ) { }

Fix:
headerToolTipHandle = OS . CreateWindowEx ( 0 , new TCHAR ( 0 , OS . TOOLTIPS_CLASS , true ) , null , TTS_NOPREFIX , CW_USEDEFAULT , 0 , CW_USEDEFAULT , 0 , handle , 0 , OS . GetModuleHandle ( null ) , null ) ;