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

6
LINES

< > BotCompany Repo | #1019630 // addRowSorter - add row sorter to JTable

JavaX fragment (include)

static JTable addRowSorter(final JTable table) {
  if (table != null) swing {
    table.setRowSorter(new TableRowSorter(table.getModel()));
  }
  ret table;
}

Author comment

Began life as a copy of #1019462

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019630
Snippet name: addRowSorter - add row sorter to JTable
Eternal ID of this version: #1019630/2
Text MD5: e879982602c1e2b5b7673c1f6b5d9aef
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-17 18:37:15
Source code size: 165 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 285 / 346
Version history: 1 change(s)
Referenced in: [show references]