static void sortTableRaw(final JTable table, final int col, final bool desc) { swingAndWait(r { L<L> data = rawTableLines(table); if (empty(data)) ret; sortByIndex(data, col); if (desc) data = reversed(data); fillTableWithData(table, data, printStruct(tableColNames(table))); table.repaint(); }); }
Began life as a copy of #1004262
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: | #1005992 |
Snippet name: | sortTableRaw - sort a JTable that may contain images |
Eternal ID of this version: | #1005992/1 |
Text MD5: | 806452e0564398eaae0dda33f0279c17 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-14 00:16:42 |
Source code size: | 335 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 443 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |