A {@link BasicLabelUI} that paints a shadow under the text using the given shadow color, whichhelps emphasize the text. The UI delegate also provides a facility for drawing a different shadow color when the corresponding label's containing {@link java.awt.Window} is unfocused.
While this UI delegate can be directly installed on existing {@code JLabel}s, it is recommended that you use the {@link com.explodingpixels.macwidgets.MacWidgetFactory#createEmphasizedLabel(String)} or{@link com.explodingpixels.macwidgets.MacWidgetFactory#makeEmphasizedLabel(JLabel,Color,Color,Color)}factory methods. Here's a close-up of an emphasized label:
|
|
|
|