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

5
LINES

< > BotCompany Repo | #1007436 - mouseToComponent

JavaX fragment (include)

static Point mouseToComponent(Component c) {
  Point d = mouseLocation();
  SwingUtilities.convertPointFromScreen(d, c);
  ret d;
}

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: #1007436
Snippet name: mouseToComponent
Eternal ID of this version: #1007436/2
Text MD5: 551d7d1b018dbcb694763d2bb81cb022
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-23 13:39:54
Source code size: 137 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 380
Version history: 1 change(s)
Referenced in: [show references]