From dbc6f698e47e8e7a3d1a5865ffa47ba2522e3b85 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Mon, 16 Jan 2023 11:13:11 +0100 Subject: [PATCH] =?UTF-8?q?refactoring:=20[GamelauncherMain=20Class]:=20Hi?= =?UTF-8?q?nzuf=C3=BCgen=20von=20Kommentaren.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JavaGamelauncher/GamelauncherMain.java | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java index b9afc31..9162bef 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java @@ -7,11 +7,7 @@ import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; -/** - * Hello world! - * - */ -public class GamelauncherMain extends JFrame { +public class GamelauncherMain extends JFrame {//class public int breite = 1270; @@ -26,7 +22,7 @@ public class GamelauncherMain extends JFrame { private JPanel contentPane; - public static void main(String[] args) { + public static void main(String[] args) {//main EventQueue.invokeLater(new Runnable() { @@ -47,9 +43,9 @@ public class GamelauncherMain extends JFrame { } }); - } + }//end main - public GamelauncherMain() { + public GamelauncherMain() {//standardkonstruktor setTitle("Game Launcher Java, C Plus Plus ist besser"); //setIconImage(Toolkit.getDefaultToolkit().getImage(GameLauncherMain.class.getResource("/gamelauncher/media/GameLauncher1.ico"))); @@ -66,6 +62,6 @@ public class GamelauncherMain extends JFrame { contentPane.setForeground(Color.GRAY); contentPane.setBackground(Color.DARK_GRAY); - } + }//end standardkonstruktor -} +}//end class