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

10
LINES

< > BotCompany Repo | #1032115 // copyInternalFramePopupMenu

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

Libraryless. Click here for Pure Java version (3601L/20K).

svoid copyInternalFramePopupMenu(JPopupMenu dest, JInternalFrame f) swing {
  L maker = cast _get(findComponentPopupMenuListener_gen(f), 'maker);
  if (empty(maker)) ret;

  /*componentPopupMenu_mouseEvent.set(new MouseEvent
    (f, MouseEvent.MOUSE_PRESSED, now(), 0, 30, 15, 1, true));*/
  
  for (O menuMaker : maker)
    pcallF(menuMaker, dest);
}

Author comment

Began life as a copy of #1020020

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032115
Snippet name: copyInternalFramePopupMenu
Eternal ID of this version: #1032115/3
Text MD5: 7ba542d059b4b8caa03e3b559ae2bfd9
Transpilation MD5: 48e044b2f845daadfc8b01960fa5bc27
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-14 00:58:44
Source code size: 360 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 133 / 191
Version history: 2 change(s)
Referenced in: [show references]