public void paint(Graphics g){
  super.paint(g);
  if (drawIntersections || drawResults) {
    OMGraphicList graphics;
    graphics=new OMGraphicList(toDraw);
    graphics.generate(getProjection(),true);
    logger.info("rendering toDraw " + toDraw.size() + " items");
    graphics.render(g);
  }
}

public void paint ( Graphics g ) { super . paint ( g ) ; if ( drawIntersections || drawResults ) { OMGraphicList graphics ; graphics = new OMGraphicList ( toDraw ) ; graphics . generate ( getProjection ( ) , true ) ; logger . info ( "rendering toDraw " + toDraw . size ( ) + " items" ) ; graphics . render ( g ) ; } }
if drawintersections or drawresults is true , will add intersection markers or returned road lines to what is rendered .
