Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1026768 // Test Host Tray Icon Mouse Over Event (only mouseMoved is delivered)

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (5139L/28K).

!7

cmodule Stuff {
  start {
    TrayIcon trayIcon = installTrayIcon(#1102854, dm_moduleName());
    dm_hostTrayIcon(trayIcon);
    trayIcon.addMouseMotionListener(new MouseAdapter {
      public void mouseMoved(MouseEvent e) { pick("mouseMoved", e); }
      public void mouseEntered(MouseEvent e) { pick("mouseEntered", e); }
      public void mouseExited(MouseEvent e) { pick("mouseExited", e); }
      
      void pick(S type, MouseEvent e) enter {
        print("Tray Icon " + type + " " + e.getPoint());
      }
    });
  }
}

Author comment

Began life as a copy of #1026348

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026768
Snippet name: Test Host Tray Icon Mouse Over Event (only mouseMoved is delivered)
Eternal ID of this version: #1026768/3
Text MD5: 0788cc1b1cd572ea88d1ae821d2bc9b7
Transpilation MD5: cea79aa22ccae253189bbe5188cc5f42
Author: stefan
Category: javax / speech recognition
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-21 14:08:04
Source code size: 547 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 219
Version history: 2 change(s)
Referenced in: [show references]