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

9
LINES

< > BotCompany Repo | #1005734 // rawTableLine - leaves elements as they are (e.g. ImageIcon)

JavaX fragment (include)

1  
static L rawTableLine(JTable tbl, int row) {
2  
  if (row >= 0 && row < tbl.getModel().getRowCount()) {
3  
    new L l;
4  
    for (int i = 0; i < tbl.getModel().getColumnCount(); i++)
5  
      l.add(tbl.getModel().getValueAt(row, i));
6  
    ret l;
7  
  }
8  
  ret null;
9  
}

Author comment

Began life as a copy of #1003693

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: #1005734
Snippet name: rawTableLine - leaves elements as they are (e.g. ImageIcon)
Eternal ID of this version: #1005734/1
Text MD5: 4ab2e91390cd8573b8f14446e7d648b8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-05 00:38:02
Source code size: 260 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 632 / 640
Referenced in: [show references]