1 | static <A extends Component> A centerPackInternalFrame(final A c) {
|
2 | final JInternalFrame win = getInternalFrame(c); |
3 | if (win == null || getParent(win) == null) ret c; |
4 | swing {
|
5 | win.pack(); |
6 | centerInternalFrame(win); |
7 | fixInternalFrame(win); |
8 | } |
9 | ret c; |
10 | } |
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: | 597 / 644 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |