static <A extends Component> A packInternalFrameVertically(A c) { ret packInternalFrameVertically(-1, c); } static <A extends Component> A packInternalFrameVertically(int width, A c) { final JInternalFrame win = getInternalFrame(c); if (win == null) ret c; final int w = width < 0 ? win.getWidth() : width; swing { win.pack(); win.setSize(w, win.getHeight()); fixInternalFrame(win); } ret c; }
Began life as a copy of #1015218
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015796 |
Snippet name: | packInternalFrameVertically - keeps width |
Eternal ID of this version: | #1015796/4 |
Text MD5: | 804ad673e0f83b185e090b8fbc449836 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-11 15:48:29 |
Source code size: | 434 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 361 / 395 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1018400 - packInternalFrameVertically_noFix |