title: JavaFx 2.x : How to draw dashed or dotted lines?
body: <p>I would like to dynamically change the draw of a line from solid, dotted or dashed: it seems I have to use line.setStroke, is it the correct method?</p>
  
  <p>And, how to accomplish this?</p>
  
  <p>Thanks</p>