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


< > BotCompany Repo | #1005992 - sortTableRaw - sort a JTable that may contain images

JavaX fragment (include)

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)));

Author comment

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: 292 / 279
Referenced in: [show references]

Formerly at &