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

4
LINES

< > BotCompany Repo | #1019384 // jPreferredSizeToFixedSize

JavaX fragment (include)

static <A extends Component> A jPreferredSizeToFixedSize(final A c) {
  if (c != null) swing { jFixedSize(c, c.getPreferredSize()); }
  ret c;
}

Author comment

Began life as a copy of #1016730

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019384
Snippet name: jPreferredSizeToFixedSize
Eternal ID of this version: #1019384/1
Text MD5: 54d17e822a752396853a6c91189a37cd
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-04 18:30:46
Source code size: 147 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 310 / 352
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020246 - jPreferredSizeToMinSize