1 | static L<S> getTableLine(JTable tbl, int row) { |
2 | if (row >= 0 && row < tbl.getModel().getRowCount()) { |
3 | new L<S> l; |
4 | for (int i = 0; i < tbl.getModel().getColumnCount(); i++) |
5 | l.add(String.valueOf(tbl.getModel().getValueAt(row, i))); |
6 | ret l; |
7 | } |
8 | ret null; |
9 | } |
Began life as a copy of #1001754
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: | #1003693 |
Snippet name: | getTableLine - turns elements into strings |
Eternal ID of this version: | #1003693/1 |
Text MD5: | 0e3a3550b4d88b9d039e2e25551306ff |
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:32:32 |
Source code size: | 282 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 619 / 668 |
Referenced in: | [show references] |