Transpiled version (5297L) is out of date.
sclass TrayIconLastPosition { TrayIcon trayIcon; WithTimestamp<Pt> lastPosition; *(TrayIcon *trayIcon) { trayIcon?.addMouseMotionListener(new MouseMotionAdapter { @Override public void mouseMoved(MouseEvent e) { lastPosition = withTimestamp(pt(e.getX(), e.getY())); } }); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033866 |
Snippet name: | TrayIconLastPosition - record coordinates when user hovers over tray icon |
Eternal ID of this version: | #1033866/6 |
Text MD5: | 8f0d35ffd38576fb2ef780302b238f69 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-07 20:57:05 |
Source code size: | 332 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 119 / 211 |
Version history: | 5 change(s) |
Referenced in: | [show references] |