Transpiled version (2915L) is out of date.
static <A extends Component> A jMinWidth_pure(int w, A c) { if (c != null) swing { Dimension size = c.getMinimumSize(); c.setMinimumSize(new Dimension(w, size.height)); } ret c; } static <A extends Component> A jMinWidth_pure(A c, int w) { ret jMinWidth_pure(w, c); }
Began life as a copy of #1005391
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: | #1009270 |
| Snippet name: | jMinWidth_pure - set minimum width of Swing component (don't set preferred width) |
| Eternal ID of this version: | #1009270/7 |
| Text MD5: | cc758af0a3c9fd76c28439499a1c34cd |
| 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:14 |
| Source code size: | 294 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 860 / 953 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |