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)

static L rawTableLine(JTable tbl, int row) {
  if (row >= 0 && row < tbl.getModel().getRowCount()) {
    new L l;
    for (int i = 0; i < tbl.getModel().getColumnCount(); i++)
      l.add(tbl.getModel().getValueAt(row, i));
    ret l;
  }
  ret null;
}

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