static void adjustPanelSizeToComponents(JPanel panel, int insetBottomRight) { panel.setPreferredSize(componentsBoundingSize(panel, insetBottomRight)); }
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: | 437 / 480 |
Version history: | 4 change(s) |
Referenced in: | [show references] |