1 | static int listRowCount(JList list) { |
2 | ret list == null ? 0 : swing(func -> int { list.getModel().getSize() }); |
3 | } |
Began life as a copy of #1003907
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022680 |
Snippet name: | listRowCount - same as jlistSize |
Eternal ID of this version: | #1022680/4 |
Text MD5: | a5adc15e5813028b8245187d4430f468 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-31 16:53:56 |
Source code size: | 116 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 320 / 352 |
Version history: | 3 change(s) |
Referenced in: | [show references] |