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