1 | static <A extends Component> A packInternalFrameVertically_noFix(A c) {
|
2 | ret packInternalFrameVertically_noFix(-1, c); |
3 | } |
4 | |
5 | static <A extends Component> A packInternalFrameVertically_noFix(int width, A c) {
|
6 | final JInternalFrame win = getInternalFrame(c); |
7 | if (win == null) ret c; |
8 | final int w = width < 0 ? win.getWidth() : width; |
9 | swing {
|
10 | win.pack(); |
11 | win.setSize(w, win.getHeight()); |
12 | } |
13 | ret c; |
14 | } |
Began life as a copy of #1015796
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018400 |
| Snippet name: | packInternalFrameVertically_noFix |
| Eternal ID of this version: | #1018400/1 |
| Text MD5: | ab8d437b19bf486aa8cefdd1ea047d73 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-26 12:10:11 |
| Source code size: | 424 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 556 / 613 |
| Referenced in: | [show references] |