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

18
LINES

< > BotCompany Repo | #1005678 // showTableWithImages - can just use showTable now

JavaX fragment (include)

static JTable showTableWithImages(final L<S> cols, final L<L> data) {
  ret showTableWithImages(autoTitle(), cols, data);
}

static JTable showTableWithImages(final S title, final L<S> cols, final L<L> data) {
  ret showTableWithImages(title, cols, data, null);
}

static JTable showTableWithImages(final S title, final L<S> cols, final L<L> data, final JTable _table) {
  ret (JTable) swingAndWait(func {
    JTable table = _table != null ? _table : sexyTable();
    fillTableWithData(table, data, cols);
    if (_table == null)
      table.setRowHeight(100);
    showFrame(title, table);
    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: #1005678
Snippet name: showTableWithImages - can just use showTable now
Eternal ID of this version: #1005678/4
Text MD5: 9882be833a77d3e015af972ad95ed446
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-27 17:14:39
Source code size: 629 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 634 / 665
Version history: 3 change(s)
Referenced in: [show references]