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

10
LINES

< > BotCompany Repo | #1009096 // moveToBottomLeftCorner

JavaX fragment (include)

static int moveToBottomLeftCorner_inset = 20;

static void moveToBottomLeftCorner(Component c) {
  Window w = getWindow(c);
  if (w != null) {
    Rectangle area = maxWindowBounds();
    w.setLocation(area.x+moveToBottomLeftCorner_inset,
      area.y+area.height-moveToBottomLeftCorner_inset-w.getHeight());
  }
}

Author comment

Began life as a copy of #1006779

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009096
Snippet name: moveToBottomLeftCorner
Eternal ID of this version: #1009096/3
Text MD5: 547faf64edf8937eecff3100fa97958f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-02 18:20:29
Source code size: 324 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 528
Version history: 2 change(s)
Referenced in: [show references]