static <A extends Window> A onWindowClosed(final A w, fO r) {
if (w != null) swing {
w.addWindowListener(new WindowAdapter {
public void windowClosed(WindowEvent e) {
temp tempRememberListener(w, 'removeWindowListener, this);
pcallF(r);
}
});
}
ret w;
}Began life as a copy of #1009661
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021845 |
| Snippet name: | onWindowClosed |
| Eternal ID of this version: | #1021845/1 |
| Text MD5: | c43064919b4e307dcc5cb7fcf11342e0 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-02 13:28:14 |
| Source code size: | 305 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 753 / 785 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |