static <A extends Component> A packWindowVertically(A c) { final Window win = getWindow(c); if (win == null) ret c; final int w = win.getWidth(); packWindow(win); swing { win.setSize(w, win.getHeight()); } ret c; }
Began life as a copy of #1014946
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: | #1015218 |
Snippet name: | packWindowVertically - keeps width |
Eternal ID of this version: | #1015218/5 |
Text MD5: | 2dccf8197ccebffe8e98415e3a13fc1c |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-10 20:24:29 |
Source code size: | 241 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 437 / 455 |
Version history: | 4 change(s) |
Referenced in: | [show references] |