static JFrame packFrameHeight(final Component c) { ret (JFrame) swing(func { JFrame frame = getFrame(c); if (frame == null) null; int w = frame.getWidth(); frame.pack(); frame.setSize(w, frame.getHeight()); ret frame; }); }
Began life as a copy of #1003296
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007757 |
Snippet name: | packFrameHeight - only change frame's height |
Eternal ID of this version: | #1007757/1 |
Text MD5: | ce44bbf94e6a4638783d5ea1d3edfb84 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-03 18:26:24 |
Source code size: | 260 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 534 / 536 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |