@Override
 public Component getTableCellRendererComponent(
     JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
   WordSpell spell = (WordSpell) value;
   WordSpellColumns which = WordSpellColumns.values()[column];
   String text = which.getDisplayValue(spell);
   setText(text);
   setBackground(getSpellColor(spell));
   setToolTipText(spell.getDescription());
   return this;
 }
 public Color getSpellColor(WordSpell spell) {
   return colors.get(spell.getGroup());
 }