FontDialog.setFont

Overview | Methods | This Package | All Packages

FontDialog.setFont

Sets a value that indicates which font is selected by default when the dialog box is opened.

Syntax

public final void setFont( Font value )

Parameters

value

A Font object that represents the font that is selected by default when the dialog box is opened. The default value is the default GUI font.

Remarks

For a code example using this method, see the FontDialog control topic.

See Also   getFont