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

11
LINES

< > BotCompany Repo | #1003660 // Test installTrayIcon & MouseListener

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1175L/8K/29K).

!752

p {
  installTrayIcon("#1003596", "JavaX Test!",
    menuItem("Exit", r { System.exit(0); })).addMouseListener(new MouseAdapter {
      public void mousePressed(MouseEvent e) {
        print("Mouse pressed, button=" + e.getButton());
      }
    });
  //hideConsole();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003660
Snippet name: Test installTrayIcon & MouseListener
Eternal ID of this version: #1003660/1
Text MD5: 865e34dd4f44c3ec15769152e3c06618
Transpilation MD5: 1bea74540456e6a1097ffce326345102
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-25 13:28:49
Source code size: 286 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 589 / 683
Referenced in: [show references]