Tooltips of disabled objects

In our current project we use tooltips to display the function of each control. Currently, tooltips of disabled objects are themselves displayed as disabled i.e. greyed out. Can this be changed so that a normal tooltip is displayed even when a control is disabled?

Yep. Put this script in your client startup script.

[code]from javax.swing import UIManager

normalForeground = UIManager.getColor(“ToolTip.foreground”)
normalBackground = UIManager.getColor(“ToolTip.background”)

UIManager.put(“ToolTip.foregroundInactive”, normalForeground)
UIManager.put(“ToolTip.backgroundInactive”, normalBackground)[/code]

Expert tip: Don’t like the normal orange tooltips? This is also how you could change them.

Thanks Carl, that works well.