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

5
LINES

< > BotCompany Repo | #1006355 // frameGrowUpper

JavaX fragment (include)

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

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: 427 / 455
Referenced in: [show references]