Skip to content

Commit

Permalink
Remove references to DukeStub
Browse files Browse the repository at this point in the history
  • Loading branch information
j-lum committed Aug 16, 2019
1 parent 999fa98 commit 5df56a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/javaFxTutorialPart3.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Add a new method to handle user input:
*/
private void handleUserInput() {
Label userText = new Label(userInput.getText());
Label dukeText = new Label(DukeStub.getResponse(userInput.getText()));
Label dukeText = new Label(getResponse(userInput.getText()));
dialogContainer.getChildren().addAll(
new DialogBox(userText, new ImageView(user)),
new DialogBox(dukeText, new ImageView(duke))
Expand Down Expand Up @@ -210,7 +210,7 @@ Now, we can go back to the `Main` class and change the event handler to use our
```java
private void handleUserInput() {
Label userText = new Label(userInput.getText());
Label dukeText = new Label(DukeStub.getResponse(userInput.getText()));
Label dukeText = new Label(getResponse(userInput.getText()));
dialogContainer.getChildren().addAll(
DialogBox.getUserDialog(userText, new ImageView(user)),
DialogBox.getDukeDialog(dukeText, new ImageView(duke))
Expand Down

0 comments on commit 5df56a8

Please sign in to comment.