toString()
public String toString()
toString(){  String styleString = "";  switch (getStyle ())    {    case 0:      styleString = "plain";      break;    case 1:      styleString = "bold";      break;    case 2:      styleString = "italic";      break;    default:      styleString = "unknown";    }  return getClass ().getName ()     + "[family=" + getFamily ()    + ",name=" + getFontName ()    + ",style=" + styleString    + ",size=" + getSize () + "]";}