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

6
LINES

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

JavaX fragment (include)

// action: voidfunc(int row)
static void tablePopupMenuItem_top(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 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019047
Snippet name: tablePopupMenuItem_top - adds to the menu if it already exists
Eternal ID of this version: #1019047/3
Text MD5: 6760c3dda99c9b55adbd26787e52d68a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-21 18:04:35
Source code size: 246 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 409
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)