www.pudn.com > myjava_dialog_20111109A.rar > MonEcouteur.java, change:2011-11-09,size:555b


package com.test.bill; 
 
import java.awt.event.*; 
 
 
 
public class MonEcouteur implements WindowListener 
{ 
    public void windowClosing(WindowEvent e)  
    { 
    	System.out.println("C'est fini..."); 
        System.exit(0); 
    } 
 
    public void windowActivated(WindowEvent e) {} 
    public void windowClosed(WindowEvent e) {} 
    public void windowDeactivated(WindowEvent e) {} 
    public void windowDeiconified(WindowEvent e) {} 
    public void windowIconified(WindowEvent e) {} 
    public void windowOpened(WindowEvent e) {}     
}