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

5
LINES

< > BotCompany Repo | #1006355 // frameGrowUpper

JavaX fragment (include)

static JFrame frameGrowUpper(JFrame f, int howMuch) {
  Rectangle r = f.getBounds();
  f.setBounds(r.x, r.y-howMuch, r.width, r.height+howMuch);
  ret f;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006355
Snippet name: frameGrowUpper
Eternal ID of this version: #1006355/1
Text MD5: a466af3146c059935c1e0b269df41930
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-29 01:49:15
Source code size: 159 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 426 / 453
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014943 - enlargeFrameLeftAndBottom
#1015180 - growWindowSouth