Buggy code:
public void addSelectionListener ( SelectionListener listener ) { } TableItem _getItem ( int index ) { } int callPaintEventHandler ( int control , int damageRgn , int visibleRgn , int theEvent , int nextHandler ) { } boolean checkData ( TableItem item , boolean redraw ) { } void checkItems ( boolean setScrollWidth ) { } static int checkStyle ( int style ) { } 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 ) { } public Rectangle computeTrim ( int x , int y , int width , int height ) { } void createHandle ( ) { } void createItem ( TableColumn column , int index ) { } void createItem ( TableItem item , int index ) { } ScrollBar createScrollBar ( int style ) { } void createWidget ( ) { } Color defaultBackground ( ) { } Color defaultForeground ( ) { } int defaultThemeFont ( ) { } public void deselect ( int index ) { } public void deselect ( int start , int end ) { } public void deselect ( int [ ] indices ) { } void deselect ( int [ ] ids , int count ) { } public void deselectAll ( ) { } void destroyItem ( TableColumn column ) { } void destroyItem ( TableItem item ) { } int drawItemProc ( int browser , int id , int property , int itemState , int theRect , int gdDepth , int colorDevice ) { } public Rectangle getClientArea ( ) { } public TableColumn getColumn ( int index ) { } public int getColumnCount ( ) { } public int [ ] getColumnOrder ( ) { } public TableColumn [ ] getColumns ( ) { } 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 int getTopIndex ( ) { } int hitTestProc ( int browser , int id , int property , int theRect , int mouseRect ) { } void hookEvents ( ) { } public int indexOf ( TableColumn column ) { } public int indexOf ( TableItem item ) { } public boolean isSelected ( int index ) { } int itemDataProc ( int browser , int id , int property , int itemData , int setValue ) { } int itemNotificationProc ( int browser , int id , int message ) { } int kEventMouseDown ( int nextHandler , int theEvent , int userData ) { } int kEventTextInputUnicodeForKeyEvent ( int nextHandler , int theEvent , int userData ) { } void releaseWidget ( ) { } public void remove ( int index ) { } public void remove ( int start , int end ) { } public void remove ( int [ ] indices ) { } public void removeAll ( ) { } public void removeSelectionListener ( SelectionListener listener ) { } void resetVisibleRegion ( int control ) { } public void select ( int index ) { } public void select ( int start , int end ) { } public void select ( int [ ] indices ) { } void select ( int [ ] ids , int count , boolean clear ) { } public void selectAll ( ) { } void setBackground ( float [ ] color ) { } int setBounds ( int x , int y , int width , int height , boolean move , boolean resize , boolean events ) { } public void setColumnOrder ( int [ ] order ) { } void setFontStyle ( Font font ) { } public void setHeaderVisible ( boolean show ) { checkWidget ( ) ; short [ ] height = new short [ 1 ] ; OS . GetDataBrowserListViewHeaderBtnHeight ( handle , height ) ; if ( ( ( height [ 0 ] ) != 0 ) != show ) { OS . SetDataBrowserListViewHeaderBtnHeight ( handle , ( ( short ) ( show ? headerHeight : 0 ) ) ) ; <START_BUG> resetVisibleRegion ( handle ) ; <END_BUG> } } public void setItemCount ( int count ) { } void setItemHeight ( Image image ) { } public void setLinesVisible ( boolean show ) { } public void setRedraw ( boolean redraw ) { } boolean setScrollWidth ( TableItem item ) { } boolean setScrollWidth ( TableItem [ ] items , boolean set ) { } public void setSelection ( int index ) { } void setSelection ( int index , boolean notify ) { } public void setSelection ( int start , int end ) { } public void setSelection ( int [ ] indices ) { } public void setSelection ( TableItem [ ] items ) { } void setTableEmpty ( ) { } public void setTopIndex ( int index ) { } public void showColumn ( TableColumn column ) { } void showIndex ( int index ) { } public void showItem ( TableItem item ) { } public void showSelection ( ) { } int trackingProc ( int browser , int id , int property , int theRect , int startPt , int modifiers ) { } }

Fix:
invalidateVisibleRegion ( handle ) ;