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

3
LINES

< > BotCompany Repo | #1020059 // preferredHeight

JavaX fragment (include)

static int preferredHeight(Component c) {
  ret c == null ? 0 : getPreferredSize(c).height;
}

Author comment

Began life as a copy of #1020058

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: #1020059
Snippet name: preferredHeight
Eternal ID of this version: #1020059/1
Text MD5: b9639d6345ec18a578992565c14afad6
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 12:13:39
Source code size: 95 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 272 / 325
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)