diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-28 15:58:57 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-28 15:58:57 +0200 |
commit | de35b79128729a3d2ec1948b332ca625f7f89119 (patch) | |
tree | f13f203d44ed08c81b7b7ecf9032409e8b739157 /src/com.example.portfolio2/com/example/portfolio2/HelloController.java | |
parent | 67bfeadd996019799d9f254f3b0e87b3d3de175c (diff) |
add module com.example.portfolio2 from Ian
Diffstat (limited to 'src/com.example.portfolio2/com/example/portfolio2/HelloController.java')
-rw-r--r-- | src/com.example.portfolio2/com/example/portfolio2/HelloController.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/com.example.portfolio2/com/example/portfolio2/HelloController.java b/src/com.example.portfolio2/com/example/portfolio2/HelloController.java new file mode 100644 index 0000000..b2abf23 --- /dev/null +++ b/src/com.example.portfolio2/com/example/portfolio2/HelloController.java @@ -0,0 +1,14 @@ +package com.example.portfolio2; + +import javafx.fxml.FXML; +import javafx.scene.control.Label; + +public class HelloController { + @FXML + private Label welcomeText; + + @FXML + protected void onHelloButtonClick() { + welcomeText.setText("Welcome to JavaFX Application!"); + } +}
\ No newline at end of file |