private void editorChangeValue(Font font)
  {
    for (int i = 0; i < fonts.length; i++)
    {
      if (fonts[i].equals(font.getName()))
      {
        familyNameCombo.setSelectedIndex(i);
        break;
      }
    }
    
    for (int i = 0; i < pointSizes.length; i++)
    {
      if (font.getSize() <= pointSizes[i])
      {
        fontSizeCombo.setSelectedIndex(i);
        break;
      }
    }
    
    selectedStyle = font.getStyle();
    String style = "";
    switch (selectedStyle)
    {
      case Font.PLAIN:
        pButton.setSelected(true);
        style = "Plain";
        break;
      case Font.ITALIC:
        iButton.setSelected(true);
        style = "Italic";
        break;
      case Font.BOLD:
        bButton.setSelected(true);
        style = "Bold";
        break;
    }
    String family = font.getFamily();
    
    iDisplay.setFamily(family);
    pDisplay.setFamily(family);
    bDisplay.setFamily(family);
    
    labelDisplay.setFont(font);
    labelDisplay.setText(family + ", " + style + ", " + font.getSize());
    
    panel.revalidate();
    panel.repaint();
  }