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

14
LINES

< > BotCompany Repo | #1004418 // logicListTable - logic list as JTable

JavaX fragment (include)

static JTable logicListTable() {
  final JTable table = showFileAsTable(tableWithToolTips(), logicListFile(), 5, func {
    map(func(S s) { joinLines(" / ", s) }, loadLogicList())
  });
  
  tablePopupMenu(table, voidfunc(JPopupMenu menu, final int row) {
    final S item = first(getTableLine(table, row));
    menu.add(jmenuItem("Delete " + quote(item), r {
      deleteFromLogicList(item);
    }));
  });
  
  ret table;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004418
Snippet name: logicListTable - logic list as JTable
Eternal ID of this version: #1004418/1
Text MD5: 472631962e550e23f193124b575af03d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-17 16:27:21
Source code size: 438 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 447
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)