aboutsummaryrefslogtreecommitdiff
path: root/src/com.example.portfolio2/com/example/portfolio2/Main.java
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-28 22:35:16 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-28 22:40:41 +0200
commit862fb85d541af579657cfdaa8db770e4c3916eaf (patch)
tree76f38f8d75f1c6ac364347c4e3ac330c89062a3b /src/com.example.portfolio2/com/example/portfolio2/Main.java
parent947ae452b7b1e893c8cf36fce15e089fd7396203 (diff)
split class HelloApplication into classes Main and Window
Diffstat (limited to 'src/com.example.portfolio2/com/example/portfolio2/Main.java')
-rw-r--r--src/com.example.portfolio2/com/example/portfolio2/Main.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/com.example.portfolio2/com/example/portfolio2/Main.java b/src/com.example.portfolio2/com/example/portfolio2/Main.java
new file mode 100644
index 0000000..da6524a
--- /dev/null
+++ b/src/com.example.portfolio2/com/example/portfolio2/Main.java
@@ -0,0 +1,21 @@
+// SPDX-FileCopyrightText: <Alexander Marthin Klemensen stud-marthin@ruc.dk>
+// SPDX-FileCopyrightText: <Ian Valentin Christensen stud-ianc@ruc.dk>
+// SPDX-FileCopyrightText: <Zahed Noos zahed@ruc.dk>
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+package com.example.portfolio2;
+
+/// Bachelorizer - bachelor programme registrar
+public final class Main {
+
+ /// Default constructor
+ // (declared explicitly only to silence javadoc)
+ public Main() {}
+
+ /// JVM entry point
+ ///
+ /// @param args command-line arguments
+ public static void main(String[] args) {
+ Window.main(args);
+ }
+}