1 | static Window addToWindowPack_keepWidth(Component c, Component toAdd) {
|
2 | Window win = getWindow(c); |
3 | int w = win.getWidth(); |
4 | addToWindowAndPack(win, toAdd); |
5 | win.setSize(w, win.getHeight()); |
6 | ret win; |
7 | } |
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: | 639 / 673 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |