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

4
LINES

< > BotCompany Repo | #1012982 // setY

JavaX fragment (include)

static <A extends Component> A setY(final int y, final A c) {
  if (c != null) swing { c.setLocation(c.getX(), y); }
  ret c;
}

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: #1012982
Snippet name: setY
Eternal ID of this version: #1012982/2
Text MD5: 4a18970aa1b1f0e9de7d1bae51e7c5d5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-19 01:25:27
Source code size: 130 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 385
Version history: 1 change(s)
Referenced in: [show references]