Libraryless. Click here for Pure Java version (15097L/92K).
svoid dm_addTrayIcon_left(final JComponent icon) { if (icon == null) ret; final DynModule m = dm_current_mandatory(); swing { L<JComponent> l = dm_getOSOpt('trayAreaComponents); if (l == null) ret; if (l.contains(icon)) ret; l.add(0, icon); dm_updateTrayIcons(); temp dm_enter(m); dm_ownTimer dm_removeTrayIcon(icon); } }
Began life as a copy of #1019393
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: | #1019404 |
Snippet name: | dm_addTrayIcon_left - add to the left of the pack |
Eternal ID of this version: | #1019404/4 |
Text MD5: | 1d737d48a52a08fd44bf1c29149da9dd |
Transpilation MD5: | 7d293e8fd3bf16dbd3dfb8ffe140f0fa |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-28 17:48:45 |
Source code size: | 369 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 330 / 419 |
Version history: | 3 change(s) |
Referenced in: | [show references] |