From bbfac002ffcb79e576ee4126e5a4c41838ccc2eb Mon Sep 17 00:00:00 2001 From: fdai7431 Date: Mon, 16 Jan 2023 12:23:59 +0100 Subject: [PATCH] [GamelauncherMain Class]: Actionlistener fuer Button --- .../JavaGamelauncher/GamelauncherMain.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 d2499b2..67f7184 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 @@ -113,6 +113,18 @@ public class GamelauncherMain extends JFrame {//class } }); + btnTikTakToe.addActionListener(new ActionListener() { + + @Override + public void actionPerformed(ActionEvent e) { + // TODO Auto-generated method stub + + //TikTakToeGame frameTikTakToe = new TikTakToeGame(); + //frameTikTakToe.setVisible(true); + } + }); + + }//end standardkonstruktor