axis.setProperty(StyleTextPropertiesElement.FontSizeAsian, "10pt");
axis.setProperty(StyleTextPropertiesElement.FontSizeComplex, "10pt");
}
}
Dr3dLightElement light1 = plotArea.newDr3dLightElement("");
light1.setDr3dDiffuseColorAttribute("#b3b3b3");
light1.setDr3dDirectionAttribute("(0 0 1)");
light1.setDr3dEnabledAttribute(new Boolean(false));
light1.setDr3dSpecularAttribute(new Boolean(true));
Dr3dLightElement light2 = plotArea.newDr3dLightElement("");
light2.setDr3dDiffuseColorAttribute("#999999");
light2.setDr3dDirectionAttribute("(-0.2 0.7 0.6)");
light2.setDr3dEnabledAttribute(new Boolean(true));
light2.setDr3dSpecularAttribute(new Boolean(false));
Dr3dLightElement light3 = plotArea.newDr3dLightElement("");
light3.setDr3dDiffuseColorAttribute("#b3b3b3");
light3.setDr3dDirectionAttribute("(0 0 1)");
light3.setDr3dEnabledAttribute(new Boolean(false));
light3.setDr3dSpecularAttribute(new Boolean(false));
Dr3dLightElement light4 = plotArea.newDr3dLightElement("");
light4.setDr3dDiffuseColorAttribute("#b3b3b3");
light4.setDr3dDirectionAttribute("(0 0 1)");
light4.setDr3dEnabledAttribute(new Boolean(false));
light4.setDr3dSpecularAttribute(new Boolean(false));
Dr3dLightElement light5 = plotArea.newDr3dLightElement("");
light5.setDr3dDiffuseColorAttribute("#b3b3b3");
light5.setDr3dDirectionAttribute("(0 0 1)");
light5.setDr3dEnabledAttribute(new Boolean(false));
light5.setDr3dSpecularAttribute(new Boolean(false));
Dr3dLightElement light6 = plotArea.newDr3dLightElement("");
light6.setDr3dDiffuseColorAttribute("#b3b3b3");
light6.setDr3dDirectionAttribute("(0 0 1)");
light6.setDr3dEnabledAttribute(new Boolean(false));
light6.setDr3dSpecularAttribute(new Boolean(false));
Dr3dLightElement light7 = plotArea.newDr3dLightElement("");
light7.setDr3dDiffuseColorAttribute("#b3b3b3");
light7.setDr3dDirectionAttribute("(0 0 1)");
light7.setDr3dEnabledAttribute(new Boolean(false));
light7.setDr3dSpecularAttribute(new Boolean(false));
Dr3dLightElement light8 = plotArea.newDr3dLightElement("");
light8.setDr3dDiffuseColorAttribute("#b3b3b3");
light8.setDr3dDirectionAttribute("(0 0 1)");
light8.setDr3dEnabledAttribute(new Boolean(false));
light8.setDr3dSpecularAttribute(new Boolean(false));
} else {
NodeList lights = plotArea.getElementsByTagName(Dr3dLightElement.ELEMENT_NAME.getQName());
for (int i = 0; i < lights.getLength(); i++) {
plotArea.removeChild(lights.item(i));
}