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

5
LINES

< > BotCompany Repo | #1020343 // jlist_itemBounds

JavaX fragment (include)

static Rect jlist_itemBounds(final JList l, final int row) {
  ret l == null ? null : swing(func -> Rect {
    toRect(l.getCellBounds(row, row))
  });
}

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: 230 / 285
Referenced in: [show references]