1 | static TrayIcon installTrayIcon2(Image image, S tooltip) { |
2 | ret installTrayIcon2(image, tooltip, null); |
3 | } |
4 | |
5 | static TrayIcon installTrayIcon2(final Image image, fS tooltip, final PopupMenu menu) ctex { |
6 | ret swing(func -> TrayIcon { |
7 | TrayIcon trayIcon = new TrayIcon(image, tooltip, menu); |
8 | SystemTray.getSystemTray().add(trayIcon); |
9 | ret trayIcon; |
10 | }); |
11 | } |
Began life as a copy of #1003656
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009668 |
Snippet name: | installTrayIcon2 - takes Image and PopupMenu |
Eternal ID of this version: | #1009668/3 |
Text MD5: | 3c6b9c7032401e95f8a181221204d17d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-19 23:38:29 |
Source code size: | 373 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 416 / 442 |
Version history: | 2 change(s) |
Referenced in: | [show references] |