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

7
LINES

< > BotCompany Repo | #1025971 // setTrayIconImage

JavaX fragment (include)

1  
svoid setTrayIconImage(TrayIcon trayIcon, BufferedImage image) {
2  
  if (trayIcon != null && image != null) swing { trayIcon.setImage(image); }
3  
}
4  
5  
svoid setTrayIconImage(TrayIcon trayIcon, S imageID) {
6  
  setTrayIconImage(trayIcon, loadBufferedImage(imageID));
7  
}

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: 219 / 260
Version history: 1 change(s)
Referenced in: [show references]