svoid dm_setTrayIcon_left(final JComponent icon) { final DynModule dm = dm_current_mandatory(); swing { temp dm.enter(); JComponent oldIcon = cast dm.transientGeneralMap.get('trayIcon); dm_removeTrayIcon(oldIcon); mapPutOrRemove(dm.transientGeneralMap, trayIcon := icon); dm_addTrayIcon_left(icon); } }
Began life as a copy of #1019404
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019406 |
| Snippet name: | dm_setTrayIcon_left - add/change/remove single tray icon for module |
| Eternal ID of this version: | #1019406/4 |
| Text MD5: | baf4264f0b0911b81b27a0214f1cad59 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-06 21:22:38 |
| Source code size: | 337 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 633 / 675 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1019428 - dm_hideTrayIcon #1019431 - dm_setTrayIcon - add/change/remove single tray icon for module |