Buggy code:
fSuiteField . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { runSuite ( ) ; } } ) ; fSuiteField . addTextListener ( new TextListener ( ) { public void textValueChanged ( TextEvent e ) { fRun . setEnabled ( ( ( fSuiteField . getText ( ) . length ( ) ) > 0 ) ) ; fStatusLine . setText ( "" ) ; } } ) ; fRun = new Button ( "Run" ) ; fRun . setEnabled ( false ) ; fRun . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { runSuite ( ) ; } } ) ; boolean useLoader = useReloadingTestSuiteLoader ( ) ; fUseLoadingRunner = new Checkbox ( "Reload<seq2seq4repair_space>classes<seq2seq4repair_space>every<seq2seq4repair_space>run" , useLoader ) ; if ( inVAJava ( ) ) fUseLoadingRunner . setVisible ( false ) ; fProgressIndicator = new ProgressBar ( ) ; fNumberOfErrors = new Label ( "0000" , Label . RIGHT ) ; fNumberOfErrors . setText ( "0" ) ; fNumberOfErrors . setFont ( TestRunner . PLAIN_FONT ) ; fNumberOfFailures = new Label ( "0000" , Label . RIGHT ) ; fNumberOfFailures . setText ( "0" ) ; fNumberOfFailures . setFont ( TestRunner . PLAIN_FONT ) ; fNumberOfRuns = new Label ( "0000" , Label . RIGHT ) ; fNumberOfRuns . setText ( "0" ) ; fNumberOfRuns . setFont ( TestRunner . PLAIN_FONT ) ; Panel numbersPanel = new Panel ( new FlowLayout ( ) ) ; numbersPanel . add ( new Label ( "Runs:" ) ) ; numbersPanel . add ( fNumberOfRuns ) ; numbersPanel . add ( new Label ( "<seq2seq4repair_space>Errors:" ) ) ; numbersPanel . add ( fNumberOfErrors ) ; numbersPanel . add ( new Label ( "<seq2seq4repair_space>Failures:" ) ) ; numbersPanel . add ( fNumberOfFailures ) ; Label failureLabel = new Label ( "Errors<seq2seq4repair_space>and<seq2seq4repair_space>Failures:" ) ; fFailureList = new List ( 5 ) ; fFailureList . addItemListener ( new ItemListener ( ) { public void itemStateChanged ( ItemEvent e ) { failureSelected ( ) ; } } ) ; fRerunButton = new Button ( "Run" ) ; fRerunButton . setEnabled ( false ) ; fRerunButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { rerun ( ) ; } } ) ; Panel failedPanel = new Panel ( new GridLayout ( 0 , 1 , 0 , 2 ) ) ; failedPanel . add ( fRerunButton ) ; fTraceArea = new TextArea ( ) ; fTraceArea . setRows ( 5 ) ; fTraceArea . setColumns ( 60 ) ; fStatusLine = new TextField ( ) ; fStatusLine . setFont ( TestRunner . PLAIN_FONT ) ; fStatusLine . setEditable ( false ) ; fStatusLine . setForeground ( Color . red ) ; fQuitButton = new Button ( "Exit" ) ; fQuitButton . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent e ) { System . exit ( 0 ) ; } } ) ; fLogo = new Logo ( ) ; Panel panel = new Panel ( new GridBagLayout ( ) ) ; addGrid ( panel , suiteLabel , 0 , 0 , 2 , GridBagConstraints . HORIZONTAL , 1.0 , GridBagConstraints . WEST ) ; addGrid ( panel , fSuiteField , 0 , 1 , 2 , GridBagConstraints . HORIZONTAL , 1.0 , GridBagConstraints . WEST ) ; addGrid ( panel , fRun , 2 , 1 , 1 , GridBagConstraints . HORIZONTAL , 0.0 , GridBagConstraints . CENTER ) ; <START_BUG> addGrid ( panel , fUseLoadingRunner , 0 , 2 , 2 , GridBagConstraints . HORIZONTAL , 1.0 , GridBagConstraints . WEST ) ; <END_BUG> addGrid ( panel , fProgressIndicator , 0 , 3 , 2 , GridBagConstraints . HORIZONTAL , 1.0 , GridBagConstraints . WEST ) ; addGrid ( panel , fLogo , 2 , 3 , 1 , GridBagConstraints . NONE , 0.0 , GridBagConstraints . NORTH ) ; addGrid ( panel , numbersPanel , 0 , 4 , 2 , GridBagConstraints . NONE , 0.0 , GridBagConstraints . CENTER ) ; addGrid ( panel , failureLabel , 0 , 5 , 2 , GridBagConstraints . HORIZONTAL , 1.0 , GridBagConstraints . WEST ) ; addGrid ( panel , fFailureList , 0 , 6 , 2 , GridBagConstraints . BOTH , 1.0 , GridBagConstraints . WEST ) ; addGrid ( panel , failedPanel , 2 , 6 , 1 , GridBagConstraints . HORIZONTAL , 0.0 , GridBagConstraints . CENTER ) ; addGrid ( panel , fTraceArea , 0 , 7 , 2 , GridBagConstraints . BOTH , 1.0 , GridBagConstraints . WEST ) ; addGrid ( panel , fStatusLine , 0 , 8 , 2 , GridBagConstraints . HORIZONTAL , 1.0 , GridBagConstraints . CENTER ) ; addGrid ( panel , fQuitButton , 2 , 8 , 1 , GridBagConstraints . HORIZONTAL , 0.0 , GridBagConstraints . CENTER ) ; frame . add ( panel , BorderLayout . CENTER ) ; frame . pack ( ) ; return frame ; } public void failureSelected ( ) { } private boolean isErrorSelected ( ) { } private Image loadFrameIcon ( ) { } public Thread getRunner ( ) { } public static void main ( String [ ] args ) { } public static void run ( Class test ) { } public void rerun ( ) { } protected void reset ( ) { } public void run ( ) { } protected void runFailed ( String message ) { } public synchronized void runSuite ( ) { } private boolean shouldReload ( ) { } private void setLabelValue ( Label label , int value ) { } public void setSuiteName ( String suite ) { } private void showErrorTrace ( ) { } private void showInfo ( String message ) { } protected void clearStatus ( ) { } private void showStatus ( String status ) { } public void start ( String [ ] args ) { } }

Fix:
addGrid ( panel , fUseLoadingRunner , 0 , 2 , 2 , GridBagConstraints . NONE , 1.0 , GridBagConstraints . WEST ) ;