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

18
LINES

< > BotCompany Repo | #1005620 // Show Animated Arrow Pointing Somewhere On Screen

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

Libraryless. Click here for Pure Java version (5320L/35K/120K).

1  
!7
2  
3  
p-awt {
4  
  JLabel label = new JLabel(imageIcon("#1005616"));
5  
  new JWindow w;
6  
  w.add(label);
7  
  w.pack();
8  
  w.setLocation(150, getScreenHeight()-40);
9  
  w.setAlwaysOnTop(true);
10  
  
11  
  // translucency magic
12  
  //pcallOpt(w, "setOpacity", 0.5f); // JDK 7+
13  
  label.setOpaque(false);
14  
  //w.setBackground(new Color(0, 0, 0, 0));
15  
  //AWTUtilities.setWindowOpaque(w, false);
16  
17  
  w.setVisible(true);
18  
}

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: #1005620
Snippet name: Show Animated Arrow Pointing Somewhere On Screen
Eternal ID of this version: #1005620/2
Text MD5: 49c8bd6215423d4e41e22b6108b684a4
Transpilation MD5: 357ee6644321273ec783af98d8ff70e9
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-02 19:59:35
Source code size: 408 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 493
Version history: 1 change(s)
Referenced in: [show references]