diff --git a/tutorials/assets/DaDuke.png b/tutorials/assets/DaDuke.png new file mode 100644 index 00000000..d8936587 Binary files /dev/null and b/tutorials/assets/DaDuke.png differ diff --git a/tutorials/assets/DaUser.png b/tutorials/assets/DaUser.png new file mode 100644 index 00000000..3c82f454 Binary files /dev/null and b/tutorials/assets/DaUser.png differ diff --git a/tutorials/javaFxTutorialPart1.md b/tutorials/javaFxTutorialPart1.md index bb132015..561daeca 100644 --- a/tutorials/javaFxTutorialPart1.md +++ b/tutorials/javaFxTutorialPart1.md @@ -44,7 +44,7 @@ javafx { ## Writing your first program -As customary, let’s start off with a simple “Hello World” program. Create a new `HelloWorld.java` class in the `duke.seedu` package. Have the class extend `javafx.application.Application`. This requires you to override the `Application#start()` method and provide a concrete implementation. Notice that the method signature for `Application#start()` has a parameter `Stage`. This is the _primary stage_ that JavaFX provides. +As customary, let’s start off with a simple “Hello World” program. Modify your `Duke` class to extend `javafx.application.Application`. This requires you to override the `Application#start()` method and provide a concrete implementation. Notice that the method signature for `Application#start()` has a parameter `Stage`. This is the _primary stage_ that JavaFX provides. ```java import javafx.application.Application; diff --git a/tutorials/javaFxTutorialPart3.md b/tutorials/javaFxTutorialPart3.md index 33c6779e..98423c1f 100644 --- a/tutorials/javaFxTutorialPart3.md +++ b/tutorials/javaFxTutorialPart3.md @@ -103,7 +103,13 @@ import javafx.scene.image.ImageView; ``` Next, add two images to the `main/resources/images` folder. -For this tutorial, we have two images `DaUser.png` and `DaDuke.png` to represent the user avatar and Duke's avatar respectively. +For this tutorial, we have two images `DaUser.png` and `DaDuke.png` to represent the user avatar and Duke's avatar respectively but you can use any image you want. + +Image|Filename +---|--- +![DaDuke](assets/DaUser.png) | `DaUser.png` +![DaUser](assets/DaDuke.png) | `DaDuke.png` + ```java public class Duke extends Application {