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

7
LINES

< > BotCompany Repo | #1018371 // growInternalFrameLeft

JavaX fragment (include)

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

Author comment

Began life as a copy of #1018370

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018371
Snippet name: growInternalFrameLeft
Eternal ID of this version: #1018371/1
Text MD5: 11e12a7cd757d32d0df8dca250b58c5a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-21 14:34:58
Source code size: 247 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 468
Referenced in: [show references]