JLabel

Client properties:

Property

Type Notes

JComponent

.sizeVariant

java.lang.String Values: "regular", "small", "mini"

Quaqua.Label.style

java.lang.String Values: "plain", "shadow", "emboss"
Quaqua.Component
.visualMargin
java.awt.Insets

See layout

Client property: JComponent.sizeVariant

Quaqua supports the regular, small and mini size variant.

General

In order to properly display JTabbedPane's with Panther design, Quaqua sets all JLabel's to non-opaque. Thus changing the background color of a JLabel has no effect, unless you explicitly call setOpaque(true) on it.

 

myLabel.setOpaque(true);

If your application logic relies on JLabels being opaque by default, you can set the UIManager property Label.opaque to Boolean.TRUE.

 

UIManager.put("Label.opaque", Boolean.TRUE);