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

6
LINES

< > BotCompany Repo | #1015292 // componentPopupMenu_top

JavaX fragment (include)

static void componentPopupMenu_top(final JComponent component, final VF1<JPopupMenu> menuMaker) {
  if (component != null && menuMaker != null) swing {
    O adapter = componentPopupMenu_initForComponent(component);
    ((L) get(adapter, 'maker)).add(0, menuMaker);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015292
Snippet name: componentPopupMenu_top
Eternal ID of this version: #1015292/5
Text MD5: 86a80135beab0a1d06e48b2e9b17b68f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-27 13:01:47
Source code size: 276 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 409 / 457
Version history: 4 change(s)
Referenced in: [show references]