Libraryless. Click here for Pure Java version (7678L/43K).
static <A extends JComponent> A setToolTipText(final A c, fO toolTip) { if (c == null) null; swing { S s = str_nullIfEmpty(toolTip); if (neq(s, c.getToolTipText())) c.setToolTipText(s); } ret c; } static <A extends JComponent> A setToolTipText(O toolTip, A c) { ret setToolTipText(c, toolTip); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006379 |
Snippet name: | setToolTipText |
Eternal ID of this version: | #1006379/6 |
Text MD5: | b5b236dd75f1760f589586f4502f3e35 |
Transpilation MD5: | 5d82862271406d8ac8aef7451eed9db2 |
Author: | stefan |
Category: | javax / gui [swing] |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-11 18:19:31 |
Source code size: | 332 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 711 / 764 |
Version history: | 5 change(s) |
Referenced in: | [show references] |