Skip to content

Commit

Permalink
Add images to JavaFX tutorial 3
Browse files Browse the repository at this point in the history
  • Loading branch information
j-lum committed Aug 15, 2019
1 parent b9c3d43 commit f1f2c85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Binary file added tutorials/assets/DaDuke.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorials/assets/DaUser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion tutorials/javaFxTutorialPart3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f1f2c85

Please sign in to comment.