How do I change the color of the tooltip for only one component?
I know you can do the following for changing tooltip colors:
UIManager.put("ToolTip.background", new ColorUIResource(255, 247, 200));
But this changes the tooltip background for all component, not just one.
Any easy solutions?
You need to provide a custom
JTooltipfor the component.Take a look at JComponent#createToolTip
From the Java Docs