mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.14k stars 235 forks source link

Add an easy way to change style of Swing tooltip separately on specific components #695

Open mgarin opened 2 years ago

mgarin commented 2 years ago

Currently it's impossible to change JToolTip style on per-component basis as there is no direct access to the JToolTip instance itself.

There should be a way to specify component's JToolTip style in some other non-intrusive way, for instance via client properties, parent-child style relation or custom methods in Web-components - possibly via all three options for convenience.

This might need further investigation.