/ Published in: Groovy
close a JFrame window the same way as when the user clicks on the X close window button
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// e.g. close a JFrame window the same way as when the user clicks on the X close window button. java.awt.event.WindowEvent wev = new java.awt.event.WindowEvent(aWindow, java.awt.event.WindowEvent.WINDOW_CLOSING); }