Libraryless. Click here for Pure Java version (6809L/39K).
1 | !7 |
2 | |
3 | // On Linux, I am getting mouseMoved and the click events |
4 | // but no mouseEnter, mouseExit or mouseDragged |
5 | |
6 | p { |
7 | //installTrayIcon(#1009664, "Test"); |
8 | //SystemTray.getSystemTray().add(new TrayIcon(imageIcon(#1009664).getImage(), "Test", null); |
9 | |
10 | var ti = new TrayIcon(resizeImage(loadImage2(#1009667), 24), "Test", null); |
11 | ti.addMouseMotionListener(proxy_printAllMethodCalls MouseMotionListener()); |
12 | ti.addMouseListener(proxy_printAllMethodCalls MouseListener()); |
13 | |
14 | SystemTray.getSystemTray().add(ti); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv
No comments. add comment
Snippet ID: | #1009665 |
Snippet name: | Tray Icon Test (print all mouse events) |
Eternal ID of this version: | #1009665/14 |
Text MD5: | 68a9b29dce82fa45f1f5bf58e361f0a3 |
Transpilation MD5: | 0e41c4a2762b6da73b7d991edbfe3575 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-07 20:36:29 |
Source code size: | 530 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 571 / 747 |
Version history: | 13 change(s) |
Referenced in: | [show references] |