1 | static JTable logicListTable() { |
2 | final JTable table = showFileAsTable(tableWithToolTips(), logicListFile(), 5, func { |
3 | map(func(S s) { joinLines(" / ", s) }, loadLogicList()) |
4 | }); |
5 | |
6 | tablePopupMenu(table, voidfunc(JPopupMenu menu, final int row) { |
7 | final S item = first(getTableLine(table, row)); |
8 | menu.add(jmenuItem("Delete " + quote(item), r { |
9 | deleteFromLogicList(item); |
10 | })); |
11 | }); |
12 | |
13 | ret table; |
14 | } |
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: | 450 / 446 |
Referenced in: | [show references] |