Locale-Sensitive Java Method
java.awt.Font
public String getFamily()
public String getFamily(Locale l)
Internationalization (I18n) Method Overview
Returns the family name of this Font ,
localized for the specified locale, if given.
The family name of a font is font specific.
Two fonts such as Helvetica Italic and Helvetica Bold have the same family name,
Helvetica, whereas their font face names are Helvetica Bold and Helvetica Italic.
For more information click
here.
I18n Issues
Call the method that takes Locale as a parameter and make sure the Locale passed in is correct.
Locale-Sensitive Java Methods
|