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

9
LINES

< > BotCompany Repo | #1009704 // moveFrameTo

JavaX fragment (include)

static void moveFrameTo(int x, int y, Window w) {
  if (w != null)
    w.setLocation(x, y);
}

static void moveFrameTo(int x, int y, int width, int height, Window w) {
  if (w != null)
    w.setBounds(x, y, width, height);
}

Author comment

Began life as a copy of #1006174

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: #1009704
Snippet name: moveFrameTo
Eternal ID of this version: #1009704/4
Text MD5: 04ee39a108f3977bc842af36a220c4b2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-14 17:32:46
Source code size: 232 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 514 / 500
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014294 - setFrameLocation