Transpiled version (5297L) is out of date.
| 1 | sclass TrayIconLastPosition {
 | 
| 2 | TrayIcon trayIcon; | 
| 3 | WithTimestamp<Pt> lastPosition; | 
| 4 | |
| 5 |   *(TrayIcon *trayIcon) {
 | 
| 6 |     trayIcon?.addMouseMotionListener(new MouseMotionAdapter {
 | 
| 7 | @Override | 
| 8 |       public void mouseMoved(MouseEvent e) {
 | 
| 9 | lastPosition = withTimestamp(pt(e.getX(), e.getY())); | 
| 10 | } | 
| 11 | }); | 
| 12 | } | 
| 13 | } | 
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: | 624 / 815 | 
| Version history: | 5 change(s) | 
| Referenced in: | [show references] |