如果你想改变图形,就会有几种眼光,感觉到有钥匙的缺损:
ToolTip.background
ToolTip.backgroundInactive
ToolTip.border
ToolTip.borderInactive
ToolTip.font
ToolTip.foreground
ToolTip.foregroundInactive
e.g. 用于确定新的地表
UIManager.put("ToolTip.foreground",java.awt.Color.red);
例如,在一份申请中,我有这些缺省。
ToolTip.background => javax.swing.plaf.ColorUIResource[r=184,g=207,b=229]
ToolTip.backgroundInactive => javax.swing.plaf.ColorUIResource[r=238,g=238,b=238]
ToolTip.border => javax.swing.plaf.BorderUIResource$LineBorderUIResource@da18ac
ToolTip.borderInactive => javax.swing.plaf.BorderUIResource$LineBorderUIResource@8a0544
ToolTip.font => javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
ToolTip.foreground => sun.swing.PrintColorUIResource[r=51,g=51,b=51]
ToolTip.foregroundInactive => javax.swing.plaf.ColorUIResource[r=122,g=138,b=153]