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

3
LINES

< > BotCompany Repo | #1031179 // getMinimumWidth

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2925L/17K).

static int getMinimumWidth(final Component c) {
  ret c == null ? 0 : swing(() -> c.getMinimumSize().width);
}

Author comment

Began life as a copy of #1014702

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031179
Snippet name: getMinimumWidth
Eternal ID of this version: #1031179/3
Text MD5: e518b69883447854ac5ffd74156c0259
Transpilation MD5: 690156dd7923085e8c995f595a38859c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-19 18:17:20
Source code size: 112 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 150
Version history: 2 change(s)
Referenced in: [show references]