From f806913f93cec65f41368eb9c42c2a13e914c552 Mon Sep 17 00:00:00 2001 From: Jeffry Lum <22460123+j-lum@users.noreply.github.com> Date: Fri, 16 Aug 2019 16:58:43 +0800 Subject: [PATCH] Remove references to DukeStub --- tutorials/javaFxTutorialPart3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/javaFxTutorialPart3.md b/tutorials/javaFxTutorialPart3.md index 98423c1f..a9e1bddd 100644 --- a/tutorials/javaFxTutorialPart3.md +++ b/tutorials/javaFxTutorialPart3.md @@ -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)) @@ -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))