private void defineToolTips ( UIDefaults d ) { String p = "ToolTip" ; d . put ( "seaGlassToolTipBorder" , new Color ( 0x5b7ea4 ) ) ; d . put ( p + ".contentMargins" , new InsetsUIResource ( 4 , 4 , 4 , 4 ) ) ; d . put ( p + ".opaque" , Boolean . FALSE ) ; d . put ( p + ".background" , new ColorUIResource ( 0xd5 , 0xe8 , 0xf7 ) ) ; d . put ( p + ".backgroundPainter" , new ToolTipPainter ( ToolTipPainter . Which . BORDER_ENABLED ) ) ; }
Define some settings for tool tips .