static <A extends Component> A setWindowSize(A c, int w, int h) { Window window = getWindow(c); if (window != null) window.setSize(w, h); ret c; } static <A extends Component> A setWindowSize(int w, int h, A c) { ret setWindowSize(c, w, h); }
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: | 493 / 505 |
Version history: | 2 change(s) |
Referenced in: | [show references] |