Created
July 2, 2015 14:06
-
-
Save thisMagpie/59b5b3edb4bc42a13417 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* windowClosing: | |
* Invoked when a window is in the process of being closed. | |
* @param e A WindowEvent object | |
*/ | |
public void windowClosing(WindowEvent e) { | |
Object o = e.getSource(); | |
if (o instanceof javax.accessibility.Accessible) { | |
boolean isToplevel = isToplevel(o); | |
AccessibleContext ac = ((javax.accessibility.Accessible)o).getAccessibleContext(); | |
AtkWrapper.windowClose(ac, isToplevel); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment