Advertisement
Guest User

GestoreFinestra

a guest
Apr 24th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. import java.awt.event.*;
  2. public class GestoreFinestra implements WindowListener
  3. {
  4.    public void windowActivated(WindowEvent e) {}
  5.    public void windowDeactivated(WindowEvent e) {}
  6.    public void windowDeiconified(WindowEvent e) {}
  7.    public void windowIconified(WindowEvent e) {}
  8.    public void windowClosed(WindowEvent e) {}
  9.    public void windowOpened(WindowEvent e) {}
  10.    public void windowClosing(WindowEvent e)
  11.    {
  12.       System.exit(0);
  13.    }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement