Example #1
0
 public void windowClosing(WindowEvent e) {
   atp.stopGame();
   midisLoader.close(); // not really required
 }
Example #2
0
 public void windowIconified(WindowEvent e) {
   atp.pauseGame();
 }
Example #3
0
 public void windowDeactivated(WindowEvent e) {
   atp.pauseGame();
 }
Example #4
0
 public void windowDeiconified(WindowEvent e) {
   atp.resumeGame();
 }
Example #5
0
 public void windowActivated(WindowEvent e) {
   atp.resumeGame();
 }