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

10
LINES

< > BotCompany Repo | #1019906 // addMouseListener

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4719L/26K).

svoid addMouseListener(Container c, MouseListener l) {
  if (c != null && l != null) swing {
    c.addMouseListener(l);
  }
}

// binary compatibility
svoid addMouseListener(JComponent c, MouseListener l) {
  addMouseListener((Container) c, l);
}

Author comment

Began life as a copy of #1015949

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019906
Snippet name: addMouseListener
Eternal ID of this version: #1019906/4
Text MD5: 297f2e6ae7fb773d820aa026fd048638
Transpilation MD5: e8d9e3ae8962793e3586b649e616d15e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-15 03:45:05
Source code size: 255 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 494
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020260 - addMouseMotionListener