From: <diz...@us...> - 2007-08-15 12:27:03
|
Revision: 74 http://fortress.svn.sourceforge.net/fortress/?rev=74&view=rev Author: dizzutch Date: 2007-08-15 05:19:54 -0700 (Wed, 15 Aug 2007) Log Message: ----------- added ExitListener Added Paths: ----------- trunk/mapgen/ExitListener.java Added: trunk/mapgen/ExitListener.java =================================================================== --- trunk/mapgen/ExitListener.java (rev 0) +++ trunk/mapgen/ExitListener.java 2007-08-15 12:19:54 UTC (rev 74) @@ -0,0 +1,6 @@ +import java.awt.event.*; +public class ExitListener extends WindowAdapter { + public void windowClosing(WindowEvent event) { + System.exit(0); + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |