Property |
Type | Notes |
---|---|---|
|
java.lang.String |
Values: "regular", "small" |
|
java.lang.String |
Values: "plain", "striped", "sourceList" |
The Quaqua Look and Feel supports trees with "plain" style and with "striped" style (aka alternating row colors).
The picture below shows the three styles "plain", "striped" and "sourceList" at the top left, top right, bottom left respectively. The JTree at the bottom right is a disabled "plain" tree.
You can specify the desired style by setting the client property Quaqua.Tree.style
to
striped
or to plain
. If you don't specify a value,
the plain style is used.
|
If you implement a TreeCellRenderer on your own, make sure that the renderer component is non-opaque. If your renderer component is opaque, the component obscurs the stripes of a striped tree.