MCPcopy Create free account
hub / github.com/GateNLP/gate-core / processWindowEvent

Method processWindowEvent

src/main/java/gate/gui/MainFrame.java:2201–2207  ·  view source on GitHub ↗

Overridden so we can exit when window is closed

(WindowEvent e)

Source from the content-addressed store, hash-verified

2199 * Overridden so we can exit when window is closed
2200 */
2201 @Override
2202 protected void processWindowEvent(WindowEvent e) {
2203 if(e.getID() == WindowEvent.WINDOW_CLOSING) {
2204 new ExitGateAction().actionPerformed(null);
2205 }
2206 super.processWindowEvent(e);
2207 }// processWindowEvent(WindowEvent e)
2208
2209 public static java.util.Collection<Component> getGuiRoots() {
2210 return guiRoots;

Callers

nothing calls this directly

Calls 2

getIDMethod · 0.80
actionPerformedMethod · 0.45

Tested by

no test coverage detected