/Users/lyon/j4p/src/gui/windowUtils/WindowController.java

1    /* 
2     * Created by DocJava, Inc. 
3     * User: lyon 
4     * Date: Mar 30, 2003 
5     * Time: 10:42:15 AM 
6     */ 
7    package gui.windowUtils; 
8     
9    import java.awt.*; 
10   import java.awt.event.WindowEvent; 
11   import java.awt.event.WindowListener; 
12    
13   public class WindowController implements WindowListener { 
14       private Frame f; 
15    
16       public WindowController(Frame f) { 
17           this.f = f; 
18           f.addWindowListener(this); 
19       } 
20    
21       public void windowClosing(WindowEvent e) { 
22           f.dispose(); 
23       } 
24    
25       public void windowClosed(WindowEvent e) { 
26       }; 
27       public void windowDeiconified(WindowEvent e) { 
28       }; 
29       public void windowIconified(WindowEvent e) { 
30       }; 
31       public void windowActivated(WindowEvent e) { 
32       }; 
33       public void windowDeactivated(WindowEvent e) { 
34       }; 
35       public void windowOpened(WindowEvent e) { 
36    
37       }; 
38   } 
39