Sep 23

Swing uses the UIManager class to store defaults. Its put() method can be used to change these values.


// Change the default foreground color for tooltips

UIManager.put("ToolTip.foreground", Color.red);

// Change the default background color for tooltips

UIManager.put("ToolTip.background", Color.white); 

written by objects \\ tags:


Leave a Reply

You must be logged in to post a comment.