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

8
LINES

< > BotCompany Repo | #1004282 // moveFrameLeft

JavaX fragment (include)

1  
static void moveFrameLeft(Window w, int amount) {
2  
  if (w != null)
3  
    w.setLocation(w.getLocation().x-amount, w.getLocation().y);
4  
}
5  
6  
static void moveFrameLeft(Component c, int amount) {
7  
  moveFrameLeft(getWindow(c), amount);
8  
}

Author comment

Began life as a copy of #1004234

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004282
Snippet name: moveFrameLeft
Eternal ID of this version: #1004282/1
Text MD5: f6a895cf94b8bf42a6f120a8486968f0
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-22 12:44:58
Source code size: 236 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 640 / 594
Referenced in: [show references]