diff options
Diffstat (limited to 'jpl/JNI/Closer.java')
-rwxr-xr-x | jpl/JNI/Closer.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jpl/JNI/Closer.java b/jpl/JNI/Closer.java new file mode 100755 index 0000000000..934405571d --- /dev/null +++ b/jpl/JNI/Closer.java @@ -0,0 +1,9 @@ +import java.awt.event.*; +import java.awt.*; +public class Closer extends WindowAdapter { + + public void windowClosing(WindowEvent e) { + Window w = e.getWindow(); + w.dispose(); + } +} |