1 | static <A extends Component> A setFrameWidth(int w, A c) { |
2 | ret setFrameWidth(c, w); |
3 | } |
4 | |
5 | static <A extends Component> A setFrameWidth(A c, int w) { |
6 | JFrame f = getFrame(c); |
7 | if (f != null) |
8 | f.setSize(w, f.getHeight()); |
9 | ret c; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003461 |
Snippet name: | setFrameWidth |
Eternal ID of this version: | #1003461/4 |
Text MD5: | 4748edacb9d898383f15062e75ecca37 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-02 17:09:09 |
Source code size: | 243 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 678 / 810 |
Version history: | 3 change(s) |
Referenced in: | [show references] |