Transpiled version (2915L) is out of date.
static <A extends Component> A jMinHeight_pure(int h, A c) { if (c != null) swing { Dimension size = c.getMinimumSize(); c.setMinimumSize(new Dimension(size.width, h)); } ret c; } static <A extends Component> A jMinHeight_pure(A c, int h) { ret jMinHeight_pure(h, c); }
Began life as a copy of #1009270
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031154 |
Snippet name: | jMinHeight_pure - set minimum height of Swing component (don't set preferred height) |
Eternal ID of this version: | #1031154/5 |
Text MD5: | dd343220cd395f6d63907afef255cd97 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-27 00:35:24 |
Source code size: | 296 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 168 / 240 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031155 - jMaxHeight_pure - set maximum height of Swing component (don't set preferred height) |