static Window addToWindowPack_keepWidth(Component c, Component toAdd) { Window win = getWindow(c); int w = win.getWidth(); addToWindowAndPack(win, toAdd); win.setSize(w, win.getHeight()); ret win; }
Began life as a copy of #1006956
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: | #1014946 |
Snippet name: | addToWindowPack_keepWidth |
Eternal ID of this version: | #1014946/6 |
Text MD5: | c00b67e6cef6adeaef74db66da02c86a |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-06 17:13:56 |
Source code size: | 214 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 401 / 429 |
Version history: | 5 change(s) |
Referenced in: | [show references] |