Browse Source

[GamelauncherMain Class]: Actionlistener fuer Button

remotes/origin/textadventure
fdai7431 2 years ago
parent
commit
772386ed2c
  1. 11
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

11
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

@ -102,6 +102,17 @@ public class GamelauncherMain extends JFrame {//class
} }
}); });
btnMouse.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
MouseGame frameMouse = new MouseGame();
//frameMouse.setVisible(true);
}
});
}//end standardkonstruktor }//end standardkonstruktor

Loading…
Cancel
Save