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

5
LINES

< > BotCompany Repo | #1024632 // selectedTableRowsInModel

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2125L/14K).

static L<Int> selectedTableRowsInModel(final JTable t) {
  ret t == null ? emptyList() : swing(func -> L<Int> {
    map(selectedTableRows(t), i -> t.convertRowIndexToModel(i))
  });
}

Author comment

Began life as a copy of #1019568

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024632
Snippet name: selectedTableRowsInModel
Eternal ID of this version: #1024632/1
Text MD5: 3d270d5c2ea66d624349618c73f9a1f0
Transpilation MD5: e7e4e547e1885088d635c794f4c08ebb
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-21 13:20:38
Source code size: 187 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 350
Referenced in: [show references]