Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1004941 // setFrameHeight

JavaX fragment (include)

static JFrame setFrameHeight(JFrame frame, int h) {
  if (frame != null) swing { frame.setSize(frame.getWidth(), h); }
  ret frame;
}

static JFrame setFrameHeight(int h, JFrame frame) {
  ret setFrameHeight(frame, h);
}

Author comment

Began life as a copy of #1003461

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004941
Snippet name: setFrameHeight
Eternal ID of this version: #1004941/3
Text MD5: b56dfb0766a7147b2b205baca8a31b36
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-15 23:59:25
Source code size: 229 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 541 / 558
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)