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

6
LINES

< > BotCompany Repo | #1020873 // componentPopupMenuItems_top - adds to the menu if it already exists

JavaX fragment (include)

static <A extends JComponent> A componentPopupMenuItems_top(A c, fO... params) {
  componentPopupMenu_top(c, voidfunc(JPopupMenu menu) {
    addMenuItems(menu, params)
  });
  ret c;
}

Author comment

Began life as a copy of #1017891

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020873
Snippet name: componentPopupMenuItems_top - adds to the menu if it already exists
Eternal ID of this version: #1020873/1
Text MD5: 0eea0c61667f25218d4ecf292c76fc1c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-06 16:53:29
Source code size: 189 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 291 / 338
Referenced in: [show references]