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

5
LINES

< > BotCompany Repo | #1006057 - getTableCell - get raw value of a JTable's cell

JavaX fragment (include)

static O getTableCell(JTable tbl, int row, int col) {
  if (row >= 0 && row < tbl.getModel().getRowCount())
    ret tbl.getModel().getValueAt(row, col);
  ret null;
}

Author comment

Began life as a copy of #1005734

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006057
Snippet name: getTableCell - get raw value of a JTable's cell
Eternal ID of this version: #1006057/1
Text MD5: 93105b8820bbd71575a224e327c8bb6f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-15 14:53:38
Source code size: 170 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 455 / 462
Referenced in: [show references]