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)

1  
static JTable showTableWithImages(final L<S> cols, final L<L> data) {
2  
  ret showTableWithImages(autoTitle(), cols, data);
3  
}
4  
5  
static JTable showTableWithImages(final S title, final L<S> cols, final L<L> data) {
6  
  ret showTableWithImages(title, cols, data, null);
7  
}
8  
9  
static JTable showTableWithImages(final S title, final L<S> cols, final L<L> data, final JTable _table) {
10  
  ret (JTable) swingAndWait(func {
11  
    JTable table = _table != null ? _table : sexyTable();
12  
    fillTableWithData(table, data, cols);
13  
    if (_table == null)
14  
      table.setRowHeight(100);
15  
    showFrame(title, table);
16  
    ret table;
17  
  });
18  
}

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: 636 / 667
Version history: 3 change(s)
Referenced in: [show references]