шпаргалки
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
530 B

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gui;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
/**
*
* @author (C)Y.D.Zakovryashin, 28.11.2022
*/
public class DemoWindowAdapter extends WindowAdapter {
@Override
public void windowClosing(WindowEvent e) {
System.out.println("Window closing");
e.getWindow().dispose();
}
}