JSlider

Client properties:

Property

Type Notes

JComponent

.sizeVariant

java.lang.String Values: "regular", "small"
Quaqua.Component
.visualMargin
java.awt.Insets

See layout

 

Size variant

Quaqua supports regular sized and small sized sliders.

Quaqua Look and Feel - JRadioButton styles

You can change the size of the slider by setting the client property JComponent.sizeVariant, or by setting an appropriate font. Sliders are displayed with regular size for the font Lucida Grande 13 and with small size for the font Lucida Grande 11.

 

mySlider.setFont(

   "Lucida Grande", Font.PLAIN, 11

);