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

11
LINES

< > BotCompany Repo | #1028064 // setTooltip - extended synonym of setToolTipText

JavaX fragment (include)

static <A extends JComponent> A setTooltip(A c, O toolTip) {
  ret setToolTipText(c, toolTip);
}

static <A extends JComponent> A setTooltip(O toolTip, A c) {
  ret setToolTipText(c, toolTip);
}

svoid setTooltip(TrayIcon trayIcon, S toolTip) {
  setTrayIconToolTip(trayIcon, toolTip);
}

Author comment

Began life as a copy of #1013224

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028064
Snippet name: setTooltip - extended synonym of setToolTipText
Eternal ID of this version: #1028064/1
Text MD5: 7e39bcc9053abe2197e99c9d95f207d3
Author: stefan
Category: javax / gui [swing]
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-15 14:18:25
Source code size: 297 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 239 / 264
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)