Files
BUT2/DEV/DEV3.1/TP02/Part2/WindowClosedEvent.java
2025-09-26 11:16:47 +02:00

17 lines
396 B
Java

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class WindowClosedEvent extends WindowAdapter {
private ImageWindow window;
public WindowClosedEvent(ImageWindow window) {
this.window = window;
}
@Override
public void windowClosing(WindowEvent event) {
(new CloseVerificationWindow(this.window)).setVisible(true);
}
}