Libraryless. Click here for Pure Java version (4715L/26K).
1 | svoid minWindowWidth(Window window, int w) { |
2 | if (window != null) swing { |
3 | if (window.getWidth() < w) |
4 | window.setSize(w, window.getHeight()); |
5 | } |
6 | } |
Began life as a copy of #1004439
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033896 |
Snippet name: | minWindowWidth |
Eternal ID of this version: | #1033896/1 |
Text MD5: | ec3e33a83d08e9346973253f2152d142 |
Transpilation MD5: | e9e4e6a06407ae4e07fafea9f3d15d3d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-09 18:24:55 |
Source code size: | 161 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 140 / 196 |
Referenced in: | [show references] |