Commit in lcsim/src/org/lcsim/util/heprep on MAIN
LCSimHepRepConverter.java+10-71.14 -> 1.15
JM: Make axes darker to avoid confusion with MCParticle display.

lcsim/src/org/lcsim/util/heprep
LCSimHepRepConverter.java 1.14 -> 1.15
diff -u -r1.14 -r1.15
--- LCSimHepRepConverter.java	30 Mar 2007 22:31:35 -0000	1.14
+++ LCSimHepRepConverter.java	9 Apr 2007 21:39:17 -0000	1.15
@@ -10,9 +10,9 @@
 import hep.graphics.heprep.HepRepTypeTree;
 
 import java.awt.Color;
-import java.io.IOException;
 import java.util.LinkedList;
 import java.util.List;
+
 import org.lcsim.event.EventHeader;
 import org.lcsim.event.EventHeader.LCMetaData;
 import org.lcsim.geometry.Detector;
@@ -123,27 +123,30 @@
         axis.addAttValue("layer", "Axis");
         axis.addAttValue("lineWidth", 20);
 
+        Color xcolor = new Color(100, 0, 0);
         HepRepType xaxis = factory.createHepRepType(axis, "xaxis");
-        xaxis.addAttValue("color",Color.RED);
+        xaxis.addAttValue("color",xcolor);
         xaxis.addAttValue("fill",true);
-        xaxis.addAttValue("fillColor",Color.RED);
+        xaxis.addAttValue("fillColor",xcolor);
         HepRepInstance x = factory.createHepRepInstance(instanceTree, xaxis);
         x.addAttValue("lineWidth", 20);
         factory.createHepRepPoint(x,0,0,0);
         factory.createHepRepPoint(x,2000,0,0);
 
+        Color ycolor = new Color(0, 100, 0);
         HepRepType yaxis = factory.createHepRepType(axis, "yaxis");
-        yaxis.addAttValue("color",Color.GREEN);
+        yaxis.addAttValue("color",ycolor);
         yaxis.addAttValue("fill",true);
-        yaxis.addAttValue("fillColor",Color.GREEN);
+        yaxis.addAttValue("fillColor",ycolor);
         HepRepInstance y = factory.createHepRepInstance(instanceTree, yaxis);
         factory.createHepRepPoint(y,0,0,0);
         factory.createHepRepPoint(y,0,2000,0);
 
+        Color zcolor = new Color(0, 0, 100);
         HepRepType zaxis = factory.createHepRepType(axis, "zaxis");
-        zaxis.addAttValue("color",Color.BLUE);
+        zaxis.addAttValue("color",zcolor);
         zaxis.addAttValue("fill",true);
-        zaxis.addAttValue("fillColor",Color.BLUE);
+        zaxis.addAttValue("fillColor",zcolor);
         HepRepInstance z = factory.createHepRepInstance(instanceTree, zaxis);
         factory.createHepRepPoint(z,0,0,0);
         factory.createHepRepPoint(z,0,0,2000);                            
CVSspam 0.2.8