/**
  * Sets the title.
  *
  * <p>The font names understood are those understood by java.awt.Font.decode(). If the font name
  * is null, the font remains unchanged.
  *
  * @param title
  * @param font_name an optional font name
  */
 public void setTitle(String title, String font_name) {
   axisLabel.setText(title);
   if ((font_name == null) || font_name.equals("")) { // $NON-NLS-1$
     return;
   }
   axisLabel.setFont(Font.decode(font_name));
 }
 /** Constructor XYAxis */
 public XYAxis() {
   axisLabel.setJustification(TextLine.CENTER);
   axisLabel.setFont(labelFont);
 }