EOJ_Class
1| //NTC Java Programming 152-116
2| //Instructor: John Heckendorf
3| //Student: Jan Young & Keith Gallistel
4| //Lab ID:
5|
6| import javax.swing.*;
7| import java.awt.event.*;
8|
9| public class EOJ_Class extends JFrame implements WindowListener
10| {
11| final static long serialVersionUID = 5;
12|
13| Control_Class oC;
14|
15| public EOJ_Class(Control_Class oControl)
16| {
17| oC = oControl;
18| }
19| public void windowActivated(WindowEvent e)
20| {
21| }
22| public void windowDeactivated(WindowEvent e)
23| {
24| }
25| public void windowOpened(WindowEvent e)
26| {
27| }
28| public void windowClosing(WindowEvent e)
29| {
30| System.exit(0);
31| }
32|
33| public void windowClosed(WindowEvent e)
34| {
35| }
36|
37| public void windowIconified(WindowEvent e)
38| {
39| }
40|
41| public void windowDeiconified(WindowEvent e)
42| {
43| }
44| }