Program: 117673
Project: 117673
Buggy source:
@Override public void setState(int state){
  if (this.state == state)   return;
  this.state=state;
switch (state) {
case EXECUTE:
{
      SwingUtilities.invokeLater(new Runnable(){
        @Override public void run(){
          startTime=System.currentTimeMillis();
          textArea.setText("String_Node_Str");
          progressBar.setIndeterminate(true);
          setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
          containerPanel.removeAll();
          containerPanel.add(processPanel,BorderLayout.CENTER);
          containerPanel.revalidate();
          forceStop=false;
          open();
        }
      }
);
      waitUntilVisible();
      return;
    }
case WAIT:
{
    SwingUtilities.invokeLater(new Runnable(){
      @Override public void run(){
        setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
        endTime=System.currentTimeMillis();
        try {
          containerPanel.removeAll();
        }
 catch (        Exception e) {
        }
        containerPanel.add(waitPanel,BorderLayout.CENTER);
        String historyString=getHistory();
        logTextPane.setText(historyString);
        logTextPane.setCaretPosition(logTextPane.getDocument().getLength());
        containerPanel.revalidate();
      }
    }
);
    return;
  }
case CLOSE:
{
  SwingUtilities.invokeLater(new Runnable(){
    @Override public void run(){
      setVisible(false);
      logTextPane.setText("String_Node_Str");
      forceStop=false;
    }
  }
);
  return;
}
case INVISIBLE:
{
SwingUtilities.invokeLater(new Runnable(){
  @Override public void run(){
    setVisible(false);
  }
}
);
return;
}
case VISIBLE:
{
open();
waitUntilVisible();
return;
}
}
}

Fixed version (ground truth):
@Override public void setState(int state){
  if (this.state == state)   return;
  this.state=state;
switch (state) {
case EXECUTE:
{
      startTime=System.currentTimeMillis();
      textArea.setText("String_Node_Str");
      progressBar.setIndeterminate(true);
      setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
      containerPanel.removeAll();
      containerPanel.add(processPanel,BorderLayout.CENTER);
      containerPanel.revalidate();
      forceStop=false;
      open();
      waitUntilVisible();
      return;
    }
case WAIT:
{
    SwingUtilities.invokeLater(new Runnable(){
      @Override public void run(){
        setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
        endTime=System.currentTimeMillis();
        try {
          containerPanel.removeAll();
        }
 catch (        Exception e) {
        }
        containerPanel.add(waitPanel,BorderLayout.CENTER);
        String historyString=getHistory();
        logTextPane.setText(historyString);
        logTextPane.setCaretPosition(logTextPane.getDocument().getLength());
        containerPanel.revalidate();
      }
    }
);
    return;
  }
case CLOSE:
{
  SwingUtilities.invokeLater(new Runnable(){
    @Override public void run(){
      setVisible(false);
      logTextPane.setText("String_Node_Str");
      forceStop=false;
    }
  }
);
  return;
}
case INVISIBLE:
{
SwingUtilities.invokeLater(new Runnable(){
  @Override public void run(){
    setVisible(false);
  }
}
);
return;
}
case VISIBLE:
{
open();
waitUntilVisible();
return;
}
}
}