Skip to content

Commit f1f2c85

Browse files
committed
Add images to JavaFX tutorial 3
1 parent b9c3d43 commit f1f2c85

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

tutorials/assets/DaDuke.png

31.9 KB
Loading

tutorials/assets/DaUser.png

36.9 KB
Loading

tutorials/javaFxTutorialPart3.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ import javafx.scene.image.ImageView;
103103
```
104104

105105
Next, add two images to the `main/resources/images` folder.
106-
For this tutorial, we have two images `DaUser.png` and `DaDuke.png` to represent the user avatar and Duke's avatar respectively.
106+
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.
107+
108+
Image|Filename
109+
---|---
110+
![DaDuke](assets/DaUser.png) | `DaUser.png`
111+
![DaUser](assets/DaDuke.png) | `DaDuke.png`
112+
107113

108114
```java
109115
public class Duke extends Application {

0 commit comments

Comments
 (0)