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

7
LINES

< > BotCompany Repo | #1018371 - growInternalFrameLeft

JavaX fragment (include)

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

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

Formerly at http://tinybrain.de/1018371 & http://1018371.tinybrain.de