static <A extends Component> A setFrameWidth(int w, A c) { ret setFrameWidth(c, w); } static <A extends Component> A setFrameWidth(A c, int w) { JFrame f = getFrame(c); if (f != null) f.setSize(w, f.getHeight()); ret c; }
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: | 947 / 1093 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |