UIManager Properties

The following UIManager properties are unique to the Quaqua Look and Feel.

Component Specific Properties
Property Default
Value
Notes

FileChooser
.autovalidate

true Makes JFileChooser's automatically validate the contents of a directory, when the user clicks at it. Set this to false, if you experience performance problems, e.g. when using JFileChooser's to choose files from large directories (> 1000 entries) over a slow network connection.

Button.opaque,

Panel.opaque,

TextField.opaque,

ToggleButton.opaque,

...

false Controls the default opaqueness of components. Set this to true if your application logic depends on components being opaque.

CheckBox

.enforceVisualMargin,

RadioButton

.enforceVisualMargin

false Enforces the visual margin on the specified component, if set to true.

ComboBox

.maximumRowCount

100 Sets the maximum row count for the combo box popup.
ComboBox
.harmonizePreferredHeight
false Set this to true, to get the same preferred height for editable and non-editable combo boxes. This may result in better layouts with some layout managers.

List
.alternateBackground

.0

List
.alternateBackground
.1

  These properties define the background colors (java.awt.Color) used for drawing alternating row colors in lists.

OptionPane

.messageLabelWidth

360 Sets the width for HTML messages displayed in an option pane. Set this to 0 to prevent Quaqua from enforcing the width.

OptionPane

.maxCharactersPerLineCount

60 Sets the maximum number of characters in text messages displayed in an option pane. Set this to Integer.MAX_VALUE if you want the width of method JOptionPane. getMaxCharacterPerLineCount() being used instead.
RootPane
.windowSnapDistance
10

Sets the distance up to which windows snap to the edges of each other and to the edges of the screen. Setting this to 0 or less, turns snapping off.

Note: Snapping is only in effect for look and feel decorated windows.

RootPane
.draggableWindowBackground
false

Default value for the client property "apple.awt.draggableWindowBackground". Setting this to true makes all windows, which have a translucent area, draggable by all of their display area. This is only in rare cases desirable, for example, when only display components are on a window.

ScrollBar
.placeButtonsTogether
  This boolean property defines the placement of scroll bar buttons. The default value is retrieved from the Appearance panel of the Mac OS X System Preferences.

Table
.alternateBackground
.0

Table
.alternateBackground
.1

  These properties define the background colors (java.awt.Color) used for drawing alternating row colors in tables.

Tree
.alternateBackground
.0

Tree
.alternateBackground
.1

  These properties define the background colors (java.awt.Color) used for drawing alternating row colors in trees.

TextField
.autoSelect

PasswordField
.autoSelect


FormattedTextField
.autoSelect

 

Set this to Boolean.FALSE to prevent that all text is selected, when the user tabs into a JTextField, a JPasswordField or a JFormattedTextField.
Note: You can set the Client property Quaqua.TextComponent.autoSelect to false or true, to override this locally.

 

The System property Quaqua.TextComponent.autoSelect determines the default value for these properties.

Font Properties
Property Notes

SystemFont

See the Apple Human Interface Guidelines Fonts guidelines for a description on how to use these fonts.

EmphasizedSystemFont

SmallSystemFont

EmphasizedSmallSystemFont

MiniSystemFont
EmphasizedMiniSystemFont
ApplicationFont
LabelFont
ViewFont

MenuFont

 

Debugging Properties
Property Notes

Quaqua.Debug
.showClipBounds

Set this to true to display the clip bounds of Quaqua user interface delegates.

Quaqua.Debug
.showVisualBounds

Set this to true to display the visual bounds of Quaqua user interface delegates.

Quaqua.Debug
.componentBoundsForeground

Specifies the java.awt.Color used for drawing the component bounds when Quaqua.Debug.showVisualBounds is turned on.

Quaqua.Debug
.textBoundsForeground

Specifies the java.awt.Color used for drawing the uppercase text bounds when Quaqua.Debug.showVisualBounds is turned on.

Quaqua.Debug
.clipBoundsForeground

Specifies the java.awt.Color used for drawing the clip bounds when Quaqua.Debug.showClipBounds is turned on.