1 | static JInternalFrame minInternalFrameWidth(final JInternalFrame frame, final int w) {
|
2 | swing {
|
3 | if (frame != null && frame.getWidth() < w) |
4 | frame.setSize(w, frame.getHeight()); |
5 | } |
6 | ret frame; |
7 | } |
8 | |
9 | static JInternalFrame minInternalFrameWidth(int w, JInternalFrame frame) {
|
10 | ret minInternalFrameWidth(frame, w); |
11 | } |
Began life as a copy of #1004439
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016365 |
| Snippet name: | minInternalFrameWidth |
| Eternal ID of this version: | #1016365/1 |
| Text MD5: | 827a7c91a943ccf74a940c412fcc9d7b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-16 16:06:05 |
| Source code size: | 334 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 692 / 739 |
| Referenced in: | [show references] |