static <A extends Component> A setSize(final A c, final int w, final int h) { if (c != null) swing { c.setSize(w, h); } ret c; } svoid setSize(Component c, Dimension d) { setSize(c, d.width, d.height); }
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019512 |
Snippet name: | setSize |
Eternal ID of this version: | #1019512/3 |
Text MD5: | a0c1a18cb379b0baee2297b0a19ac9f0 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-12 01:01:30 |
Source code size: | 217 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 366 / 427 |
Version history: | 2 change(s) |
Referenced in: | [show references] |