Program: 184268
Project: 184268
Buggy source:
public URoadGamePanel(){
  super("String_Node_Str",false);
  ideaContainer.setLayout(new BorderLayout());
  JLabel titleLabel=new JLabel("String_Node_Str");
  titleLabel.setFont(UI.HEADER_FONT);
  titleLabel.setBorder(BorderFactory.createEmptyBorder(2 * UI.PAD,0,0,0));
  ideaContainer.add(titleLabel,BorderLayout.NORTH);
  ideaContainer.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  JPanel freeLowMessage=new JPanel(new BorderLayout());
  freeLowMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.GREEN),BorderLayout.NORTH);
  freeLowMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(freeLowMessage,FREE_LOW_CARD);
  JPanel freeOptimalMessage=new JPanel(new BorderLayout());
  freeOptimalMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.GREEN),BorderLayout.NORTH);
  freeOptimalMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(freeOptimalMessage,FREE_OPTIMAL_CARD);
  JPanel freeHighMessage=new JPanel(new BorderLayout());
  freeHighMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.GREEN),BorderLayout.NORTH);
  freeHighMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(freeHighMessage,FREE_HIGH_CARD);
  JPanel congestionMessage=new JPanel(new BorderLayout());
  congestionMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.RED),BorderLayout.NORTH);
  congestionMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(congestionMessage,CONGESTION_CARD);
  messageMachine=new ThresholdMachine(MIN_SPEED_THRESHOLDS,MIN_SPEED_STATES,MIN_SPEED_TOLERANCE);
  messageTimer=new Timer(ADAPTIVE_MESSAGE_TIMER_DELAY_MS,new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      updateMessage();
    }
  }
);
  simCanvas=new URoadCanvas(TARGET_FPS);
  simCanvas.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(UI.PAD,UI.PAD,UI.PAD,UI.PAD),new RoundedBorder(UI.BACKGROUND.brighter(),null,MessageBubble.CORNER_RADIUS,MessageBubble.BORDER_WIDTH,true)));
  simCanvas.setTimeStepsPerFrame(TIME_STEPS_PER_FRAME);
  gameContainer.add(simCanvas,CARD_GAME);
  warmupPool=new BackgroundWarmupRunner();
}

Fixed version (ground truth):
public URoadGamePanel(){
  super("String_Node_Str",false);
  ideaContainer.setLayout(new BorderLayout());
  JLabel titleLabel=new JLabel("String_Node_Str");
  titleLabel.setFont(UI.HEADER_FONT);
  titleLabel.setBorder(BorderFactory.createEmptyBorder(2 * UI.PAD,0,0,0));
  ideaContainer.add(titleLabel,BorderLayout.NORTH);
  ideaContainer.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  JPanel freeLowMessage=new JPanel(new BorderLayout());
  freeLowMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.GREEN),BorderLayout.NORTH);
  freeLowMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(freeLowMessage,FREE_LOW_CARD);
  JPanel freeOptimalMessage=new JPanel(new BorderLayout());
  freeOptimalMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.GREEN),BorderLayout.NORTH);
  freeOptimalMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(freeOptimalMessage,FREE_OPTIMAL_CARD);
  JPanel freeHighMessage=new JPanel(new BorderLayout());
  freeHighMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.GREEN),BorderLayout.NORTH);
  freeHighMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(freeHighMessage,FREE_HIGH_CARD);
  JPanel congestionMessage=new JPanel(new BorderLayout());
  congestionMessage.add(UI.makeTrafficReportLabel("String_Node_Str",UI.RED),BorderLayout.NORTH);
  congestionMessage.add(UI.makeStyledTextPane("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str" + UI.EM_DASH + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),BorderLayout.CENTER);
  messageContainer.add(congestionMessage,CONGESTION_CARD);
  messageMachine=new ThresholdMachine(MIN_SPEED_THRESHOLDS,MIN_SPEED_STATES,MIN_SPEED_TOLERANCE);
  messageTimer=new Timer(ADAPTIVE_MESSAGE_TIMER_DELAY_MS,new ActionListener(){
    @Override public void actionPerformed(    ActionEvent e){
      updateMessage();
    }
  }
);
  simCanvas=new URoadCanvas(TARGET_FPS);
  simCanvas.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(UI.PAD,UI.PAD,UI.PAD,UI.PAD),new RoundedBorder(UI.BACKGROUND.brighter(),null,MessageBubble.CORNER_RADIUS,MessageBubble.BORDER_WIDTH,true)));
  simCanvas.setTimeStepsPerFrame(TIME_STEPS_PER_FRAME);
  gameContainer.add(simCanvas,CARD_GAME);
  warmupPool=new BackgroundWarmupRunner();
}