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

3
LINES

< > BotCompany Repo | #1020054 // getPreferredSize

JavaX fragment (include)

static Dimension getPreferredSize(final Component c) {
  ret c == null ? null : swing(func -> Dimension { c.getPreferredSize() });
}

Author comment

Began life as a copy of #1019170

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: #1020054
Snippet name: getPreferredSize
Eternal ID of this version: #1020054/1
Text MD5: 49a526b8f3504266dd308e046e678e17
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-05 11:22:39
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 447
Referenced in: [show references]