if (color != null) { glyph.colorize(viewIndex, color); } else { glyph.recolorize(viewIndex); }
colorizeGlyph(glyph, glyph.getColor());
    public void colorizeGlyph(Glyph glyph,                              Color color)    {        if (color != null) {            glyph.colorize(viewIndex, color);        } else {            glyph.recolorize(viewIndex);        }    }