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

7
LINES

< > BotCompany Repo | #1025971 // setTrayIconImage

JavaX fragment (include)

svoid setTrayIconImage(TrayIcon trayIcon, BufferedImage image) {
  if (trayIcon != null && image != null) swing { trayIcon.setImage(image); }
}

svoid setTrayIconImage(TrayIcon trayIcon, S imageID) {
  setTrayIconImage(trayIcon, loadBufferedImage(imageID));
}

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: #1025971
Snippet name: setTrayIconImage
Eternal ID of this version: #1025971/2
Text MD5: a3cc67f4bc8f0ad29c18d2fa7a1bfa71
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-19 14:33:28
Source code size: 265 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 148 / 179
Version history: 1 change(s)
Referenced in: [show references]