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

7
LINES

< > BotCompany Repo | #1015180 // growWindowSouth

JavaX fragment (include)

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

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: 441 / 499
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015237 - growFrameSouth - synonym of growWindowSouth
#1015590 - windowToBack
#1018370 - growInternalFrameSouth