Microsoft SDK for Java

StatusBarPanel.setStyle

Sets a value indicating whether a panel on a status bar is owner-drawn (to support displaying images or a different font from the rest of the status bar) or system-drawn (the standard setting for displaying text).

Syntax

public void setStyle( int style )

Parameters

style

An integer that indicates whether the panel is owner-drawn. Possible values are constants defined in the StatusBarPanelStyle class. The default value is StatusBarPanelStyle.TEXT.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid StatusBarPanelStyle constant.

See Also   getStyle

© 1999 Microsoft Corporation. All rights reserved. Terms of use.