EscuchaVentanita.java

Categorías: CategoryJava | CategoryProgramacion

   1 /*
   2  * To change this template, choose Tools | Templates
   3  * and open the template in the editor.
   4  */
   5 package savetheearthsk;
   6 
   7 import java.awt.event.WindowEvent;
   8 import java.awt.event.WindowListener;
   9 
  10 /**
  11  *
  12  * @author lina maria bermudez
  13  * @author mario nicolas arcila
  14  */
  15 
  16 /**
  17  *
  18  * Esta clase es la que tiene el windowListener de Espuntaje
  19  * */
  20 public class EscuchaVentanita implements WindowListener {
  21 
  22 
  23     public void windowOpened(WindowEvent e) {
  24     }
  25 /**
  26  * Este metodo cierra todo el juego dsede el windowClosing del EsPuntaje
  27  * @param e Window event
  28  */
  29     public void windowClosing(WindowEvent e) {
  30         System.exit(0);
  31     }
  32 
  33     public void windowClosed(WindowEvent e) {
  34     }
  35 
  36     public void windowIconified(WindowEvent e) {
  37     }
  38 
  39     public void windowDeiconified(WindowEvent e) {
  40     }
  41 
  42     public void windowActivated(WindowEvent e) {
  43     }
  44 
  45     public void windowDeactivated(WindowEvent e) {
  46     }
  47 }

Java/Programas/SaveTheEarth/EscuchaVentanita.java (last edited 2010-10-28 11:28:23 by Nicolas Arcila)