1 | static AutoCloseable tempRenameButton(S newName, final JButton b) { |
2 | if (b == null) null; |
3 | newName = unnull(newName); |
4 | fS oldName = getText(b); |
5 | if (eq(oldName, newName)) null; |
6 | setText(b, newName); |
7 | ret autocloseable { setText(b, oldName); }; |
8 | } |
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: | 416 / 443 |
Version history: | 3 change(s) |
Referenced in: | [show references] |