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

!752

p {
  BufferedImage icon1 = loadBufferedImage("#1004350");
  BufferedImage icon2 = loadBufferedImage("#1004351");
  
  L<L> data = (L) ll(
    ll(icon1, "Bla 1"),
    ll(icon2, "Bla 2"),
  );
  L<S> cols = splitAtSpace("Picture Description");
  
  JTable table = sexyTable();
  fillTableWithData(table, data, cols);
  table.setRowHeight(100);
  
  showFrame(table);
}

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