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

3
LINES

< > BotCompany Repo | #1020058 // preferredWidth

JavaX fragment (include)

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

Author comment

Began life as a copy of #1020054

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: #1020058
Snippet name: preferredWidth
Eternal ID of this version: #1020058/1
Text MD5: a2d15767c7399423a9054a8a035544fc
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:24
Source code size: 93 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 298 / 332
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020059 - preferredHeight