Buggy code:
public class Combo extends Composite { int textLimit = Combo . LIMIT ; boolean receivingFocus ; NSRange selectionRange ; public static final int LIMIT ; 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 ) { } boolean becomeFirstResponder ( int id , int sel ) { } static int checkStyle ( int style ) { } protected void checkSubclass ( ) { } public void clearSelection ( ) { } void comboBoxSelectionDidChange ( int id , int sel , int notification ) { } public Point computeSize ( int wHint , int hHint , boolean changed ) { } public void copy ( ) { } void createHandle ( ) { if ( ( ( style ) & ( SWT . READ_ONLY ) ) != 0 ) { NSPopUpButton widget = ( ( NSPopUpButton ) ( new SWTPopUpButton ( ) . alloc ( ) ) ) ; widget . initWithFrame ( new NSRect ( ) , false ) ; widget . menu ( ) . setAutoenablesItems ( false ) ; widget . setTarget ( widget ) ; widget . setAction ( sel_sendSelection ) ; view = widget ; } else { NSComboBox widget = ( ( NSComboBox ) ( new SWTComboBox ( ) . alloc ( ) ) ) ; <START_BUG> widget . initWithFrame ( new NSRect ( ) ) ; <END_BUG> widget . setDelegate ( widget ) ; view = widget ; } } public void cut ( ) { } Color defaultBackground ( ) { } Color defaultForeground ( ) { } void deregister ( ) { } public void deselect ( int index ) { } public void deselectAll ( ) { } int getCharCount ( ) { } public String getItem ( int index ) { } public int getItemCount ( ) { } public int getItemHeight ( ) { } public String [ ] getItems ( ) { } int getMininumHeight ( ) { } public int getOrientation ( ) { } public Point getSelection ( ) { } public int getSelectionIndex ( ) { } public String getText ( ) { } char [ ] getText ( int start , int end ) { } public int getTextHeight ( ) { } public int getTextLimit ( ) { } public int getVisibleItemCount ( ) { } public int indexOf ( String string ) { } public int indexOf ( String string , int start ) { } void insertEditText ( String string ) { } public void paste ( ) { } void register ( ) { } void releaseWidget ( ) { } 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 ) { } public void select ( int index ) { } void sendSelection ( ) { } boolean sendKeyEvent ( NSEvent nsEvent , int type ) { } void setBackground ( float [ ] color ) { } void setBounds ( int x , int y , int width , int height , boolean move , boolean resize ) { } void setForeground ( float [ ] color ) { } public void setItem ( int index , String string ) { } public void setItems ( String [ ] items ) { } void setListVisible ( boolean visible ) { } public void setOrientation ( int orientation ) { } public void setSelection ( Point selection ) { } public void setText ( String string ) { } void setText ( String string , boolean notify ) { } public void setTextLimit ( int limit ) { } public void setVisibleItemCount ( int count ) { } void textViewDidChangeSelection ( int id , int sel , int aNotification ) { } void textDidChange ( int id , int sel , int aNotification ) { } NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange ( int id , int sel , int aTextView , int oldSelectedCharRange , int newSelectedCharRange ) { } String verifyText ( String string , int start , int end , NSEvent keyEvent ) { } }

Fix:
widget . init ( ) ;