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

4
LINES

< > BotCompany Repo | #1005633 // middleOfScreen

JavaX fragment (include)

static Point middleOfScreen() {
  Dimension d = screenSize();
  ret new Point(d.width/2, d.height/2);
}

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: #1005633
Snippet name: middleOfScreen
Eternal ID of this version: #1005633/1
Text MD5: 058fbd2fc0d9975cfc025736adaad388
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-30 13:53:43
Source code size: 106 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 481 / 486
Referenced in: [show references]