setName(names[ratingIndex]);
name = names[ratingIndex];
    public RateImageAction(ImViewer model, int ratingIndex)    {        super(model);        setEnabled(true);        controlsIndex(ratingIndex);        putValue(Action.SHORT_DESCRIPTION,                 UIUtilities.formatToolTipText(DESCRIPTION));        this.ratingIndex = ratingIndex;        putValue(Action.NAME,                 UIUtilities.formatToolTipText(names[ratingIndex]));        setName(names[ratingIndex]);    }