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

6
LINES

< > BotCompany Repo | #1011070 // tablePopupMenuItemFirst - adds to beginning of menu

JavaX fragment (include)

// action: voidfunc(int row)
static void tablePopupMenuItemFirst(final JTable table, fS name, fO action) {
  tablePopupMenuFirst(table, voidfunc(JPopupMenu menu, final int row) {
    addMenuItem(menu, name, r { pcallF(action, row) });
  });
}

Author comment

Began life as a copy of #1006548

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: #1011070
Snippet name: tablePopupMenuItemFirst - adds to beginning of menu
Eternal ID of this version: #1011070/1
Text MD5: c9bad0bd10414bb51fa4c6d4c5bfd964
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-12 01:46:40
Source code size: 247 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 486
Referenced in: [show references]