static <A extends Component> A setFrameSize(A c, int w, int h) { JFrame f = getFrame(c); if (f != null) f.setSize(w, h); ret c; } static <A extends Component> A setFrameSize(int w, int h, A c) { ret setFrameSize(c, w, h); }
Began life as a copy of #1003461
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: | #1008702 |
Snippet name: | setFrameSize |
Eternal ID of this version: | #1008702/2 |
Text MD5: | 6f7840e024bb88fa8498158907898d0e |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-02 16:48:09 |
Source code size: | 245 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 607 / 639 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013338 - setWindowSize |