Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1013224 // setToolTip - extended synonym of setToolTipText

JavaX fragment (include)

1  
static <A extends JComponent> A setToolTip(A c, O toolTip) {
2  
  ret setToolTipText(c, toolTip);
3  
}
4  
5  
static <A extends JComponent> A setToolTip(O toolTip, A c) {
6  
  ret setToolTipText(c, toolTip);
7  
}
8  
9  
svoid setToolTip(TrayIcon trayIcon, S toolTip) {
10  
  setTrayIconToolTip(trayIcon, toolTip);
11  
}

Author comment

Began life as a copy of #1006379

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1013224
Snippet name: setToolTip - extended synonym of setToolTipText
Eternal ID of this version: #1013224/4
Text MD5: ccd026218f71ef9d265ce8ec71bb8d12
Author: stefan
Category: javax / gui [swing]
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-04 16:06:25
Source code size: 297 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 546 / 578
Version history: 3 change(s)
Referenced in: [show references]