static AutoCloseable tempRenameButton(S newName, final JButton b) { if (b == null) null; newName = unnull(newName); fS oldName = getText(b); if (eq(oldName, newName)) null; setText(b, newName); ret autocloseable { setText(b, oldName); }; }
Began life as a copy of #1016305
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: | #1016421 |
Snippet name: | tempRenameButton |
Eternal ID of this version: | #1016421/4 |
Text MD5: | 95ee88088dc5871e0a4016fcb31574ec |
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:35:11 |
Source code size: | 258 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 415 / 442 |
Version history: | 3 change(s) |
Referenced in: | [show references] |