1 | static <A extends JFrame> A onWindowClosingOnly(final A w, fO r) { |
2 | if (w != null) { |
3 | onWindowClosing(w, r); |
4 | swing { w.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); } |
5 | } |
6 | ret w; |
7 | } |
Began life as a copy of #1009661
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016007 |
Snippet name: | onWindowClosingOnly - disable normal closing |
Eternal ID of this version: | #1016007/1 |
Text MD5: | f0dd18356dd2e5c0b3c3af110f97b407 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-02 22:08:14 |
Source code size: | 203 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 389 / 402 |
Referenced in: | [show references] |