List of usage examples for java.awt.event WindowEvent WindowEvent
public WindowEvent(Window source, int id, int oldState, int newState)
From source file:Main.java
protected void processWindowEvent(WindowEvent e) { WindowEvent newEvent = new WindowEvent(this, WindowEvent.WINDOW_FIRST, WindowEvent.WINDOW_CLOSED, WindowEvent.WINDOW_ACTIVATED); super.processWindowEvent(e); // Pass on the event }