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

9
LINES

< > BotCompany Repo | #1005994 // tableColNames - get column names of JTable

JavaX fragment (include)

static L<S> tableColNames(final JTable table) {
  ret swing(func -> L<S> {
    int n = tableNumColumns(table);
    new L<S> l;
    for (int i = 0; i < n; i++)
      l.add(table.getColumnName(i));
    ret l;
  });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005994
Snippet name: tableColNames - get column names of JTable
Eternal ID of this version: #1005994/3
Text MD5: 7f5dd1cfad6a8b8dd8c69990d75dc17d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-07 14:02:23
Source code size: 222 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 421 / 451
Version history: 2 change(s)
Referenced in: [show references]