*/
    public void setColor(Color color) {
        this.color = new Color(color.getRGB());
        // put colour back in to the dictionary
        float[] compArray = new float[3];
        this.color.getColorComponents(compArray);
        Vector<Number> colorValues = new Vector<Number>(3);
        colorValues.add(compArray[0]);
        colorValues.add(compArray[1]);
        colorValues.add(compArray[2]);
        entries.put(Annotation.COLOR_KEY, colorValues);
    }