1 | static L<S> tableColNames(final JTable table) { |
2 | ret swing(func -> L<S> { |
3 | int n = tableNumColumns(table); |
4 | new L<S> l; |
5 | for (int i = 0; i < n; i++) |
6 | l.add(table.getColumnName(i)); |
7 | ret l; |
8 | }); |
9 | } |
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: | 490 / 528 |
Version history: | 2 change(s) |
Referenced in: | [show references] |