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

8
LINES

< > BotCompany Repo | #1004282 // moveFrameLeft

JavaX fragment (include)

static void moveFrameLeft(Window w, int amount) {
  if (w != null)
    w.setLocation(w.getLocation().x-amount, w.getLocation().y);
}

static void moveFrameLeft(Component c, int amount) {
  moveFrameLeft(getWindow(c), amount);
}

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