1 | static <A extends Component> A setWindowSize(A c, int w, int h) {
|
2 | Window window = getWindow(c); |
3 | if (window != null) |
4 | window.setSize(w, h); |
5 | ret c; |
6 | } |
7 | |
8 | static <A extends Component> A setWindowSize(int w, int h, A c) {
|
9 | ret setWindowSize(c, w, h); |
10 | } |
Began life as a copy of #1008702
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: | #1013338 |
| Snippet name: | setWindowSize |
| Eternal ID of this version: | #1013338/3 |
| Text MD5: | 3e017de4afe2bab147cf610b21345198 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-01-02 20:16:06 |
| Source code size: | 264 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 706 / 736 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |