Appearance appearance = new Appearance(); Material material = new Material(ambientColor, emissiveColor,diffuseColor,specularColor, shininess); appearance.setMaterial(material); ColoringAttributes ca; ca.setShadeModel(ColoringAttributes.SHADE_GOURAUD); appearance.setColoringAttributes(ca);