g.setColor(graph.getHighlightColor());
g.setColor(highlightColor);
  public void paint(Graphics g)  {    int b = borderWidth;    Graphics2D g2 = (Graphics2D)g;    Dimension d = getSize();    boolean tmp = selected;    if(super.isOpaque())    {      g.setColor(super.getBackground());      g.fillOval(b - 1, b - 1, d.width - b, d.height - b);    }    try    {      setBorder(null);      setOpaque(false);      selected = false;      super.paint(g);    }    finally    {      selected = tmp;    }    if(bordercolor != null)    {      g.setColor(bordercolor);      g2.setStroke(new BasicStroke(b));      g.drawOval(b - 1, b - 1, d.width - b, d.height - b);    }    if(selected)    {      g2.setStroke(GraphConstants.SELECTION_STROKE);      g.setColor(graph.getHighlightColor());      g.drawOval(b - 1, b - 1, d.width - b, d.height - b);    }  }