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

6
LINES

< > BotCompany Repo | #1034111 // test_CustomToolTip

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (12051L/72K).

1  
svoid test_CustomToolTip() {
2  
  var button = new JButton("Yo");
3  
  CustomToolTip tt = new(-> withMargin(jlabel("Hello")));
4  
  tt.installOn(button);
5  
  showAlwaysOnTopFrame(jfullcenter(button));
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034111
Snippet name: test_CustomToolTip
Eternal ID of this version: #1034111/3
Text MD5: 982618c45095320033f2a8234b0dc7bd
Transpilation MD5: 2b6df9c2ac23676bd7147c5f5fb9d810
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-22 17:32:54
Source code size: 196 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 71 / 129
Version history: 2 change(s)
Referenced in: [show references]