Stroke property for view elements displaying lines
The Stroke property of elements which draw lines specifies how thick and with what pattern lines are drawn.
If you provide a positive integer or double number, the value means how thick you want a normal line.
If you provide a negative integer or double number, the value means how thick you want a dashed? line.
You can also instantiate and use your own object of the
java.awt.Stroke class, for a complete reference of this class, see the Stroke javadoc reference page.