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

3
LINES

< > BotCompany Repo | #1020261 // setSizeToPreferredSize

JavaX fragment (include)

static <A extends Component> A setSizeToPreferredSize(A a) {
  ret setSize(a, preferredWidth(a), preferredHeight(a));
} 

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: #1020261
Snippet name: setSizeToPreferredSize
Eternal ID of this version: #1020261/2
Text MD5: 0a1066708e806a0ece87d585fd240290
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-12 01:00:28
Source code size: 122 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 336 / 349
Version history: 1 change(s)
Referenced in: [show references]