aboutsummaryrefslogtreecommitdiff
path: root/src/com.example.portfolio2/com/example/portfolio2/Window.java
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-28 22:49:33 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-28 22:49:33 +0200
commita701fe0f29f82cdcf445cc24f79877116ca62ca4 (patch)
treedd965ec66db85d310e832a21be59c597c34ae042 /src/com.example.portfolio2/com/example/portfolio2/Window.java
parent862fb85d541af579657cfdaa8db770e4c3916eaf (diff)
rename class Model -> Database; rename variable model -> store
Diffstat (limited to 'src/com.example.portfolio2/com/example/portfolio2/Window.java')
-rw-r--r--src/com.example.portfolio2/com/example/portfolio2/Window.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com.example.portfolio2/com/example/portfolio2/Window.java b/src/com.example.portfolio2/com/example/portfolio2/Window.java
index 730741a..c02017b 100644
--- a/src/com.example.portfolio2/com/example/portfolio2/Window.java
+++ b/src/com.example.portfolio2/com/example/portfolio2/Window.java
@@ -30,11 +30,11 @@ public final class Window extends Application {
public static final String LABEL_STYLE =
"-fx-font-weight: bold;-fx-font-size: 18;-fx-padding: 10";
- /// Application model
- private Model model = new Model();
+ /// Storage model
+ private Database store = new Database();
/// Application controller
- private Controller con = new Controller(model,this);
+ private Controller con = new Controller(store,this);
/// database singleton
MyDB myDB = new MyDB();