Jump to Real's How-to Main page

Change Tooltip color

UIManager.put("Tooltip.background", new ColorUIResource(...));
The default value is
javax.swing.plaf.ColorUIResource[R=204,G=204,B=255]
NOTE:Most Swing resources can be customize this way. Here a list of the resource names and their default values.
If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]