static <A extends Component> A centerPackInternalFrame(final A c) { final JInternalFrame win = getInternalFrame(c); if (win == null || getParent(win) == null) ret c; swing { win.pack(); centerInternalFrame(win); fixInternalFrame(win); } ret c; }
Began life as a copy of #1016239
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016270 |
| Snippet name: | centerPackInternalFrame |
| Eternal ID of this version: | #1016270/2 |
| Text MD5: | 3ce1925ccd60916c705c14aaa88c2064 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-12 23:23:07 |
| Source code size: | 276 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 598 / 644 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026650 - centerPackInternalFrameWithMinSize |