1 | static void disableAndRenameButtonWhileCalcing2(S newName, final O /*F0<Bool>*/ f) { |
2 | final JButton button = heldInstance(JButton); |
3 | final AutoCloseable temp = tempDisableAndRenameButton(newName, button); |
4 | thread { |
5 | temp temp; |
6 | if (isTrue(callF(f))) disposePossiblyInternalFrame(button); |
7 | } |
8 | } |
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: | 344 / 396 |
Version history: | 2 change(s) |
Referenced in: | [show references] |