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

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

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: 129 / 209
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)