diff --git a/uk/ac/sanger/artemis/components/SegmentBorder.java b/uk/ac/sanger/artemis/components/SegmentBorder.java index 31776adfafc1beca4e79adb24b1517e8fc00af3f..072926d2f8a48aaea40f0eb7ab250d5ae1e9a63f 100644 --- a/uk/ac/sanger/artemis/components/SegmentBorder.java +++ b/uk/ac/sanger/artemis/components/SegmentBorder.java @@ -38,6 +38,7 @@ public class SegmentBorder private int y; private int width; private int feature_direction; + public static Color HIGHLIGHT_BORDER_COLOUR = new Color(140,25,25); /** * Information stored in this object is used to draw the feature @@ -78,7 +79,7 @@ public class SegmentBorder if(highlight_segment) { - g2d.setColor(new Color(140,25,25)); + g2d.setColor(HIGHLIGHT_BORDER_COLOUR); g2d.setStroke(new BasicStroke(4.f)); } else