Buggy code:
public class Table extends Composite { TableItem [ ] items ; TableColumn [ ] columns ; ImageList imageList ; ImageList headerImageList ; TableItem currentItem ; TableColumn sortColumn ; int lastIndexOf ; int lastWidth ; int sortDirection ; boolean customDraw ; boolean cancelMove ; boolean dragStarted ; boolean fixScrollWidth ; boolean tipRequested ; boolean wasSelected ; boolean ignoreActivate ; boolean ignoreSelect ; boolean ignoreShrink ; boolean ignoreResize ; static final int INSET = 4 ; static final int GRID_WIDTH = 1 ; static final int SORT_WIDTH = 10 ; static final int HEADER_MARGIN = 10 ; static final int TableProc ; static final TCHAR TableClass = new TCHAR ( 0 , OS . WC_LISTVIEW , true ) ; static final char [ ] BUTTON = new char [ ] { 'B' , 'U' , 'T' , 'T' , 'O' , 'N' , 0 } ; public Table ( Composite parent , int style ) { } 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 ) { } boolean checkData ( TableItem item , boolean redraw ) { } 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 ( ) { super . createHandle ( ) ; <START_BUG> state &= ~ ( CANVAS ) ; <END_BUG> if ( ! ( OS . IsWinCE ) ) { if ( ( OS . COMCTL32_MAJOR ) < 6 ) { OS . SendMessage ( handle , CCM_SETVERSION , 5 , 0 ) ; } } if ( ( ( style ) & ( SWT . CHECK ) ) != 0 ) { int empty = OS . SendMessage ( handle , LVM_APPROXIMATEVIEWRECT , 0 , 0 ) ; int oneItem = OS . SendMessage ( handle , LVM_APPROXIMATEVIEWRECT , 1 , 0 ) ; int width = ( oneItem > > 16 ) - ( empty > > 16 ) ; int height = width ; setCheckboxImageList ( width , height ) ; OS . SendMessage ( handle , LVM_SETCALLBACKMASK , LVIS_STATEIMAGEMASK , 0 ) ; } int hFont = OS . GetStockObject ( SYSTEM_FONT ) ; OS . SendMessage ( handle , WM_SETFONT , hFont , 0 ) ; LVCOLUMN lvColumn = new LVCOLUMN ( ) ; lvColumn . mask = OS . LVCF_TEXT ; int hHeap = OS . GetProcessHeap ( ) ; int pszText = OS . HeapAlloc ( hHeap , HEAP_ZERO_MEMORY , sizeof ) ; lvColumn . pszText = pszText ; OS . SendMessage ( handle , LVM_INSERTCOLUMN , 0 , lvColumn ) ; OS . HeapFree ( hHeap , 0 , pszText ) ; int bits1 = ( OS . LVS_EX_SUBITEMIMAGES ) | ( OS . LVS_EX_LABELTIP ) ; if ( ( ( style ) & ( SWT . FULL_SELECTION ) ) != 0 ) bits1 |= OS . LVS_EX_FULLROWSELECT ; OS . SendMessage ( handle , LVM_SETEXTENDEDLISTVIEWSTYLE , bits1 , bits1 ) ; if ( ( OS . WIN32_VERSION ) < ( OS . VERSION ( 4 , 10 ) ) ) return ; if ( ( ( style ) & ( SWT . RIGHT_TO_LEFT ) ) != 0 ) { int hwndHeader = OS . SendMessage ( handle , LVM_GETHEADER , 0 , 0 ) ; int bits2 = OS . GetWindowLong ( hwndHeader , GWL_EXSTYLE ) ; OS . SetWindowLong ( hwndHeader , GWL_EXSTYLE , ( bits2 | ( OS . WS_EX_LAYOUTRTL ) ) ) ; } } void createItem ( TableColumn column , int index ) { } void createItem ( TableItem item , int index ) { } void createWidget ( ) { } int defaultBackground ( ) { } 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 ( ) { } int getBackgroundPixel ( ) { } public TableColumn getColumn ( int index ) { } public int getColumnCount ( ) { } public int [ ] getColumnOrder ( ) { } public TableColumn [ ] getColumns ( ) { } int getFocusIndex ( ) { } int getForegroundPixel ( ) { } 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 ( ) { } public int getSortDirection ( ) { } public int getTopIndex ( ) { } int imageIndex ( Image image ) { } int imageIndexHeader ( Image image ) { } public int indexOf ( TableColumn column ) { } public int indexOf ( TableItem item ) { } public boolean isSelected ( int index ) { } void releaseWidget ( ) { } public void remove ( int [ ] indices ) { }

Fix:
state &= ~ ( ( CANVAS ) | ( TRANSPARENT ) ) ;