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

4
LINES

< > BotCompany Repo | #1034161 // showPopupMenu

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

Libraryless. Click here for Pure Java version (31L/1K).

svoid showPopupMenu(JPopupMenu menu, MouseEvent e) {
  if (menu != null && e != null)
    menu.show(e.getComponent(), e.getX(), e.getY());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034161
Snippet name: showPopupMenu
Eternal ID of this version: #1034161/2
Text MD5: 4ed6e252b4a7a922a8cac62cc121355a
Transpilation MD5: bd43d3be47dc559f7c11e16f4dbf7a4f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-24 22:49:09
Source code size: 143 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 197
Version history: 1 change(s)
Referenced in: [show references]