1 | static void moveFrameTo(int x, int y, Window w) {
|
2 | if (w != null) |
3 | w.setLocation(x, y); |
4 | } |
5 | |
6 | static void moveFrameTo(int x, int y, int width, int height, Window w) {
|
7 | if (w != null) |
8 | w.setBounds(x, y, width, height); |
9 | } |
Began life as a copy of #1006174
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: | #1009704 |
| Snippet name: | moveFrameTo |
| Eternal ID of this version: | #1009704/4 |
| Text MD5: | 04ee39a108f3977bc842af36a220c4b2 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-14 17:32:46 |
| Source code size: | 232 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 752 / 732 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |