static <A extends JFrame> A onWindowClosingOnly(final A w, fO r) { if (w != null) { onWindowClosing(w, r); swing { w.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); } } ret w; }
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: | 388 / 401 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1016113 - doNothingOnClose - disable normal closing |