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

18
LINES

< > BotCompany Repo | #1034015 // Artificial mouse pointer test

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

Download Jar. Libraryless. Click here for Pure Java version (5295L/29K).

!7

p {
  var screen = rightScreenBounds();
  var component = new JLabel("Screen 2");
  component.setHorizontalAlignment(JLabel.CENTER);
  //jImage(#1103062)
  var window = showTransparentJWindow(
    //rect(0, 0, 64, 64),
    //growRect(-10, bounds),
    //rect(bounds.x, bounds.y, 64, 64),
    rect(screen.x+screen.w/4,
      screen.y+screen.h/4,
      screen.w/2,
      screen.h/2),
    component);
  doAfter(10.0, r { disposeWindow(window); System.exit(0); });
}

Author comment

Began life as a copy of #1034002

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034015
Snippet name: Artificial mouse pointer test
Eternal ID of this version: #1034015/7
Text MD5: f794ec8707af82c06501819319a5c92f
Transpilation MD5: 406f4046c87864e0d0a57bfb16337a39
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-17 01:37:40
Source code size: 483 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 703
Version history: 6 change(s)
Referenced in: [show references]