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

9
LINES

< > BotCompany Repo | #1006210 // tablePopupMenuFirst - adds to top of the menu if it already exists

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2969L/18K).

// menuMaker = voidfunc(JPopupMenu, int row)
svoid tablePopupMenuFirst(JTable table, fO menuMaker) {
  tablePopupMenu_first.set(true);
  tablePopupMenu(table, menuMaker);
}

svoid tablePopupMenuFirst(JTable table, IVF2<JPopupMenu, Int> menuMaker) {
  tablePopupMenuFirst(table, (O) menuMaker);
}

Author comment

Began life as a copy of #1004446

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006210
Snippet name: tablePopupMenuFirst - adds to top of the menu if it already exists
Eternal ID of this version: #1006210/2
Text MD5: 8a701a0cac966e7859b65187bfe8ccc6
Transpilation MD5: b04b1e9a998df8712b3db6b46941cd2f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-18 21:17:53
Source code size: 303 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 498 / 567
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)