Libraryless. Click here for Pure Java version (3002L/17K).
static <A extends Component> A centerFrameWithMinWidth(A c) { JFrame f = getFrame(c); if (f != null) centerFrameWithWidth(getMinimumWidth(f), f); ret c; }
Began life as a copy of #1015038
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031180 |
Snippet name: | centerFrameWithMinWidth |
Eternal ID of this version: | #1031180/3 |
Text MD5: | 954ca8743934c8017028c00a48044150 |
Transpilation MD5: | 5239741e23bd895d94667661c070909b |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-19 18:18:53 |
Source code size: | 169 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 217 / 266 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |