[Demonstration 1]

[Buggy Method]
void fillInnerParts() {
    browserPanel = BrowserPanel.load(browserPlaceholder);
    personListPanel = PersonListPanel.load(primaryStage, getPersonListPlaceholder(), logic.getFilteredPersonList());
    resultDisplay = ResultDisplay.load(primaryStage, getResultDisplayPlaceholder());
    statusBarFooter = StatusBarFooter.load(primaryStage, getStatusbarPlaceholder(), config.getAddressBookFilePath());
    commandBox = CommandBox.load(primaryStage, getCommandBoxPlaceholder(), resultDisplay, logic);
}

[Buggy Hunk]
personListPanel = PersonListPanel.load(primaryStage, getPersonListPlaceholder(), logic.getFilteredPersonList());

[Patch]
personListPanel = TaskListPanel.load(primaryStage, getPersonListPlaceholder(), logic.getFilteredPersonList());

[Demonstration 2]

[Buggy Method]
private void startProxy(BenchmarkConfiguration config) {
    // start proxy to get force information
    SimsparkAgentProxyServerParameter parameterObject = new SimsparkAgentProxyServerParameter(config.getAgentPort(), config.getServerIP(), config.getServerPort(), config.isVerbose());
    proxy = new BenchmarkAgentProxyServer(parameterObject, allowedPlayers, allowPlayerBeaming, isGazebo);
    proxy.start();
    try {
        Thread.sleep(1000);
    } catch (InterruptedException e) {
        e.printStackTrace();
    }
}

[Buggy Hunk]
config.getAgentPort(), config.getServerIP(), config.getServerPort(), config.isVerbose());

[Patch]
config.getProxyPort(), config.getServerIP(), config.getServerPort(), config.isVerbose());

[Demonstration 3]

[Buggy Method]
private void initComponents() {
    jLabel1 = new JLabel();
    action = new JComboBox();
    jLabel1.setText("Action");
    action.setModel(new DefaultComboBoxModel());
    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap().addComponent(jLabel1).addPreferredGap(ComponentPlacement.UNRELATED).addComponent(action, 0, 393, Short.MAX_VALUE).addContainerGap()));
    layout.setVerticalGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap().addGroup(layout.createParallelGroup(Alignment.BASELINE).addComponent(jLabel1).addComponent(action, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)).addContainerGap(212, Short.MAX_VALUE)));
}

[Buggy Hunk]
action.setModel(new DefaultComboBoxModel());

[Patch]
action.setModel(new DefaultComboBoxModel<Type>());