setErrorFont

Sets the error font for error messages

Parameters

font

The font to be set