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

7
LINES

< > BotCompany Repo | #1015180 // growWindowSouth

JavaX fragment (include)

1  
static void growWindowSouth(Component c, final int howMuch) {
2  
  final Window w = getWindow(c);
3  
  if (w != null) swing {
4  
    Rectangle r = w.getBounds();
5  
    w.setBounds(r.x, r.y, r.width, r.height+howMuch);
6  
  }
7  
}

Author comment

Began life as a copy of #1006355

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015180
Snippet name: growWindowSouth
Eternal ID of this version: #1015180/1
Text MD5: c2ff058702157d8752d1cba771f2eb25
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 15:43:33
Source code size: 218 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 442 / 501
Referenced in: [show references]