static void disableAndRenameButtonWhileCalcing2(S newName, final O /*F0<Bool>*/ f) { final JButton button = heldInstance(JButton); final AutoCloseable temp = tempDisableAndRenameButton(newName, button); thread { temp temp; if (isTrue(callF(f))) disposePossiblyInternalFrame(button); } }
Began life as a copy of #1015872
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016419 |
Snippet name: | disableAndRenameButtonWhileCalcing2 |
Eternal ID of this version: | #1016419/3 |
Text MD5: | 6ef50fed3e0ab601fa2d84150640536e |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-18 13:33:09 |
Source code size: | 309 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 343 / 395 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |