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

6
LINES

< > BotCompany Repo | #1017891 - componentPopupMenuItems - adds to the menu if it already exists

JavaX fragment (include)

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

Author comment

Began life as a copy of #1007911

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1017891
Snippet name: componentPopupMenuItems - adds to the menu if it already exists
Eternal ID of this version: #1017891/1
Text MD5: 8d7a31929eed16e9f376a577d48368f4
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-19 12:21:43
Source code size: 181 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 172 / 170
Referenced in: [show references]

Formerly at http://tinybrain.de/1017891 & http://1017891.tinybrain.de