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

13
LINES

< > BotCompany Repo | #1005630 // Let user mark a spot on the screen and point arrows to it for 5 seconds

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1549L/11K/44K).

!752

p {
  final JWindow window = showAnimationInTopRightCorner("#1005611", "Please click somewhere");
  
  // TODO: onClosing(window, "trackOneClick_cancel");
  
  trackOneClick(voidfunc(Point p) {
    window.dispose();
    showAnimation("#1005611", "You clicked at " + p.x + "/" + p.y, 3);
    pointArrowsToArea(new Rectangle(p.x, p.y, 0, 0), 5);
  });
}

Author comment

Began life as a copy of #1005612

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005630
Snippet name: Let user mark a spot on the screen and point arrows to it for 5 seconds
Eternal ID of this version: #1005630/1
Text MD5: b50e667154813872189d1b613d9a04f5
Transpilation MD5: b35bc34a8eca4419e4543a1b192bb743
Author: stefan
Category: javax / gui / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-02 15:38:49
Source code size: 369 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 560 / 718
Referenced in: [show references]