Webber: A Website Construction Application


MainWindow.java


// A main-program frame - exit system if closed

package library;

import java.awt.event.*;

public class MainWindow extends DefaultWindow {

	// Constructor
	public MainWindow(String title) { super(title); }
	
	// Override the window-closed method in DefaultWindow
	public void windowClosed(WindowEvent e) { System.exit(0); }
}

Go To: Source Code