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

5
LINES

< > BotCompany Repo | #1005553 // moveToRightScreenEdge

JavaX fragment (include)

1  
static int moveToRightScreenEdge_inset = 20;
2  
3  
static void moveToRightScreenEdge(Window w) {
4  
  w.setLocation(getScreenSize().width-w.getWidth()-moveToRightScreenEdge_inset, w.getLocation().y);
5  
}

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: #1005553
Snippet name: moveToRightScreenEdge
Eternal ID of this version: #1005553/1
Text MD5: 6825acf76fd565c66d0e89f4c48dde5d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-26 18:48:48
Source code size: 197 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 493 / 512
Referenced in: [show references]