1 | static Rect jlist_itemBounds(final JList l, final int row) { |
2 | ret l == null ? null : swing(func -> Rect { |
3 | toRect(l.getCellBounds(row, row)) |
4 | }); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020343 |
Snippet name: | jlist_itemBounds |
Eternal ID of this version: | #1020343/1 |
Text MD5: | d0b260bdfd067e4c8db5b13a997f842a |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-14 19:17:08 |
Source code size: | 156 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 316 / 367 |
Referenced in: | [show references] |