Buggy code:
public class Combo extends Composite { boolean noSelection ; boolean ignoreModify ; boolean ignoreCharacter ; int scrollWidth ; int visibleCount = 5 ; public static final int LIMIT ; static final int CBID_LIST = 1000 ; static final int CBID_EDIT = 1001 ; static int EditProc ; static int ListProc ; static final int ComboProc ; static final TCHAR ComboClass = new TCHAR ( 0 , "COMBOBOX" , true ) ; public Combo ( Composite parent , int style ) { } public void add ( String string ) { } public void add ( String string , int index ) { } public void addModifyListener ( ModifyListener listener ) { } public void addSelectionListener ( SelectionListener listener ) { } public void addVerifyListener ( VerifyListener listener ) { } int callWindowProc ( int hwnd , int msg , int wParam , int lParam ) { } boolean checkHandle ( int hwnd ) { } protected void checkSubclass ( ) { } static int checkStyle ( int style ) { } public void clearSelection ( ) { } public Point computeSize ( int wHint , int hHint , boolean changed ) { } public void copy ( ) { } void createHandle ( ) { } public void cut ( ) { } int defaultBackground ( ) { } void deregister ( ) { } public void deselect ( int index ) { } public void deselectAll ( ) { } public String getItem ( int index ) { } public int getItemCount ( ) { } public int getItemHeight ( ) { } public String [ ] getItems ( ) { } String getNameText ( ) { } public int getOrientation ( ) { } public Point getSelection ( ) { } public int getSelectionIndex ( ) { } public String getText ( ) { } public int getTextHeight ( ) { } public int getTextLimit ( ) { } public int getVisibleItemCount ( ) { } boolean hasFocus ( ) { } public int indexOf ( String string ) { } public int indexOf ( String string , int start ) { } int mbcsToWcsPos ( int mbcsPos ) { } public void paste ( ) { } void register ( ) { } public void remove ( int index ) { } public void remove ( int start , int end ) { } public void remove ( String string ) { } public void removeAll ( ) { } public void removeModifyListener ( ModifyListener listener ) { } public void removeSelectionListener ( SelectionListener listener ) { } public void removeVerifyListener ( VerifyListener listener ) { } boolean sendKeyEvent ( int type , int msg , int wParam , int lParam , Event event ) { } public void select ( int index ) { } void setBackgroundImage ( int hBitmap ) { } void setBackgroundPixel ( int pixel ) { } void setBounds ( int x , int y , int width , int height , int flags ) { } public void setFont ( Font font ) { } void setForegroundPixel ( int pixel ) { } public void setItem ( int index , String string ) { } public void setItems ( String [ ] items ) { } public void setOrientation ( int orientation ) { } void setScrollWidth ( ) { } void setScrollWidth ( int scrollWidth ) { this . scrollWidth = scrollWidth ; if ( ( ( style ) & ( SWT . SIMPLE ) ) != 0 ) { OS . SendMessage ( handle , CB_SETHORIZONTALEXTENT , scrollWidth , 0 ) ; return ; } boolean scroll = false ; int count = OS . SendMessage ( handle , CB_GETCOUNT , 0 , 0 ) ; if ( count > 3 ) { int maxWidth = 0 ; <START_BUG> if ( ( OS . WIN32_VERSION ) < ( OS . VERSION ( 4 , 10 ) ) ) { <END_BUG> RECT rect = new RECT ( ) ; OS . SystemParametersInfo ( SPI_GETWORKAREA , 0 , rect , 0 ) ; maxWidth = ( ( rect . right ) - ( rect . left ) ) // 4 ; } else { int hmonitor = OS . MonitorFromWindow ( handle , MONITOR_DEFAULTTONEAREST ) ; MONITORINFO lpmi = new MONITORINFO ( ) ; lpmi . cbSize = MONITORINFO . sizeof ; OS . GetMonitorInfo ( hmonitor , lpmi ) ; maxWidth = ( ( lpmi . rcWork_right ) - ( lpmi . rcWork_left ) ) // 4 ; } scroll = scrollWidth > maxWidth ; } if ( scroll ) { OS . SendMessage ( handle , CB_SETDROPPEDWIDTH , 0 , 0 ) ; OS . SendMessage ( handle , CB_SETHORIZONTALEXTENT , scrollWidth , 0 ) ; } else { scrollWidth += OS . GetSystemMetrics ( SM_CYHSCROLL ) ; OS . SendMessage ( handle , CB_SETDROPPEDWIDTH , scrollWidth , 0 ) ; OS . SendMessage ( handle , CB_SETHORIZONTALEXTENT , 0 , 0 ) ; } } void setScrollWidth ( TCHAR buffer , boolean grow ) { } void setScrollWidth ( int newWidth , boolean grow ) { } public void setSelection ( Point selection ) { } public void setText ( String string ) { } public void setTextLimit ( int limit ) { } void setToolTipText ( Shell shell , String string ) { } public void setVisibleItemCount ( int count ) { } void subclass ( ) { } boolean translateTraversal ( MSG msg ) { } boolean traverseEscape ( ) { } void unsubclass ( ) { } String verifyText ( String string , int start , int end , Event keyEvent ) { } int wcsToMbcsPos ( int wcsPos ) { } int widgetExtStyle ( ) { } int widgetStyle ( ) { } TCHAR windowClass ( ) { } int windowProc ( ) { } int windowProc ( int hwnd , int msg , int wParam , int lParam ) { }

Fix:
if ( ( OS . IsWinCE ) || ( ( OS . WIN32_VERSION ) < ( OS . VERSION ( 4 , 10 ) ) ) ) {