code: public void setSelectionModel(FontSelectionModel newModel ) {
          FontSelectionModel oldModel = selectionModel;
          selectionModel = newModel;
          oldModel.removeChangeListener(labelUpdater);
          newModel.addChangeListener(labelUpdater);
          firePropertyChange("selectionModel", oldModel, newModel);
      }
docs: Set the model containing the selected font.
  
  @param newModel   the new FontSelectionModel object