FileDocCategorySizeDatePackage
AbstractExampleFault.javaAPI DocExample945Thu Nov 22 18:09:16 GMT 2001myprojects.abstractexamplefault

AbstractExampleFault.java

/*
 * @(#)AbstractExampleFault.java 1.0 01/11/22
 *
 * You can modify the template of this file in the
 * directory ..\JCreator\Templates\Template_1\Project_Name.java
 *
 * You can also create your own project template by making a new
 * folder in the directory ..\JCreator\Template\. Use the other
 * templates as examples.
 *
 */
package myprojects.abstractexamplefault;

import java.awt.*;
import java.awt.event.*;

class AbstractExampleFault extends Frame {
	
	public AbstractExampleFault() {
		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				dispose();
				System.exit(0);
			}
		});
	}

	public static void main(String args[]) {
		System.out.println("Starting AbstractExampleFault...");
		AbstractExampleFault mainFrame = new AbstractExampleFault();
		mainFrame.setSize(400, 400);
		mainFrame.setTitle("AbstractExampleFault");
		mainFrame.setVisible(true);
	}
}