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).

1  
!752
2  
3  
p {
4  
  installTrayIcon("#1003596", "JavaX Test!",
5  
    menuItem("Exit", r { System.exit(0); })).addMouseListener(new MouseAdapter {
6  
      public void mousePressed(MouseEvent e) {
7  
        print("Mouse pressed, button=" + e.getButton());
8  
      }
9  
    });
10  
  //hideConsole();
11  
}

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: 598 / 695
Referenced in: [show references]