Libraryless. Click here for Pure Java version (14637L/102K).
!7 module TrayAreaTest_v2 > DynPrintLog { start { final L<Component> trayArea = dm_getOSOpt('trayAreaComponents); if (trayArea == null) ret with print("No tray area"); print("Got tray area (l=" + l(trayArea) + "). Setting contents."); swing { clearList(trayArea); trayArea.add(jcenteredlabel("Hello world!")); //trayArea.add(jImage_scaledToHeight(#1101400, 16)); trayArea.add(jImage(#1101416)); } dm_callOS('updateMenuBar); print("Done."); } }
Began life as a copy of #1019383
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: | #1019386 |
| Snippet name: | Tray Area Test v2 [Dyn Module, OK, but don't use] |
| Eternal ID of this version: | #1019386/9 |
| Text MD5: | eb67ecd8cb98e97acfbe99e1703efab9 |
| Transpilation MD5: | 206acc4673d2f86a7891b5bfeabc21b7 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-04 19:31:07 |
| Source code size: | 516 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 610 / 774 |
| Version history: | 8 change(s) |
| Referenced in: | -