static void setFrameBounds(final Component c, final Rectangle bounds) { if (c != null) swing { JFrame f = getFrame(c); if (f != null) { f.setBounds(bounds); revalidate(f); } } } static void setFrameBounds(Component c, int x, int y, int w, int h) { setFrameBounds(c, new Rectangle(x, y, w, h)); }
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: | #1005667 |
Snippet name: | setFrameBounds |
Eternal ID of this version: | #1005667/4 |
Text MD5: | 5b51769584f3ffb1c7c022f34e2e55bc |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-02-27 14:37:51 |
Source code size: | 338 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 631 / 631 |
Version history: | 3 change(s) |
Referenced in: | [show references] |