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).

1  
!7
2  
3  
p {
4  
  var screen = rightScreenBounds();
5  
  var component = new JLabel("Screen 2");
6  
  component.setHorizontalAlignment(JLabel.CENTER);
7  
  //jImage(#1103062)
8  
  var window = showTransparentJWindow(
9  
    //rect(0, 0, 64, 64),
10  
    //growRect(-10, bounds),
11  
    //rect(bounds.x, bounds.y, 64, 64),
12  
    rect(screen.x+screen.w/4,
13  
      screen.y+screen.h/4,
14  
      screen.w/2,
15  
      screen.h/2),
16  
    component);
17  
  doAfter(10.0, r { disposeWindow(window); System.exit(0); });
18  
}

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: 91 / 434
Version history: 6 change(s)
Referenced in: [show references]