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

3
LINES

< > BotCompany Repo | #1020029 // setLocation

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

Libraryless. Click here for Pure Java version (4770L/27K).

1  
svoid setLocation(Component c, Pt etc p) {
2  
  if (c != null) swing { c.setLocation(p.x, p.y); }
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020029
Snippet name: setLocation
Eternal ID of this version: #1020029/5
Text MD5: 000c7ecd15fe7de4d3f8ccf4eb5021fe
Transpilation MD5: 720a421b80e296c3f4462af8df8eb998
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-09 18:54:49
Source code size: 98 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 825 / 907
Version history: 4 change(s)
Referenced in: [show references]