void setSelectedFont ( Font font ) { this . selectedFont = font ; fontNameList . setSelectedValue ( font . getFamily ( ) , true ) ; fontStyleList . setSelectedValue ( getStyle ( font ) , true ) ; fontSizeList . setSelectedValue ( font . getSize ( ) , true ) ; }
Sets the current font of the font chooser to the specified font .