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

18
LINES

< > BotCompany Repo | #1004996 // Try JTable with images 2 [using fillTableWithData, works]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2963L/21K/73K).

1  
!752
2  
3  
p {
4  
  BufferedImage icon1 = loadBufferedImage("#1004350");
5  
  BufferedImage icon2 = loadBufferedImage("#1004351");
6  
  
7  
  L<L> data = (L) ll(
8  
    ll(icon1, "Bla 1"),
9  
    ll(icon2, "Bla 2"),
10  
  );
11  
  L<S> cols = splitAtSpace("Picture Description");
12  
  
13  
  JTable table = sexyTable();
14  
  fillTableWithData(table, data, cols);
15  
  table.setRowHeight(100);
16  
  
17  
  showFrame(table);
18  
}

Author comment

Began life as a copy of #1004993

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: #1004996
Snippet name: Try JTable with images 2 [using fillTableWithData, works]
Eternal ID of this version: #1004996/1
Text MD5: 7a4dc499ba2b35a69548118d7644d348
Transpilation MD5: 0ce82ff416c9f21ebab3ff7d7749dc27
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-14 01:04:57
Source code size: 390 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 533 / 597
Referenced in: [show references]