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

3
LINES

< > BotCompany Repo | #1008594 // adjustPanelSizeToComponents

JavaX fragment (include)

1  
static void adjustPanelSizeToComponents(JPanel panel, int insetBottomRight) {
2  
  panel.setPreferredSize(componentsBoundingSize(panel, insetBottomRight));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008594
Snippet name: adjustPanelSizeToComponents
Eternal ID of this version: #1008594/5
Text MD5: cadf0e93872e9df608052df91901472e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-25 13:37:43
Source code size: 156 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 439 / 482
Version history: 4 change(s)
Referenced in: [show references]