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

9
LINES

< > BotCompany Repo | #1014837 // setWindowBounds

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4203L) is out of date.

svoid setWindowBounds(int x, int y, int w, int h, Component c) swing {
  var window = getWindow(c);
  if (window != null)
    window.setBounds(x, y, w, h);
}

svoid setWindowBounds(Component c, int x, int y, int w, int h) {
  setWindowBounds(x, y, w, h, c);
}

Author comment

Began life as a copy of #1014294

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: #1014837
Snippet name: setWindowBounds
Eternal ID of this version: #1014837/6
Text MD5: a0860f4ce14aa94d3ed7844cdc16f728
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-16 02:34:11
Source code size: 267 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 315 / 377
Version history: 5 change(s)
Referenced in: [show references]