g.drawLine(60,20,60,100) draws a line from (60,20) to (60,100)
of the Graphic g. The current color and stroke will be used.
We can control the thickness of the line and the end-cap.
The cap determines what happens at the end of a line.
With the Graphics and the Graphics2D classes we can specify features of the Stroke used to draw the line.
BasicStroke.CAP_BUTTBasicStroke.CAP_ROUNDBasicStroke.CAP_SQUAREBasicStroke.JOIN_MITERBasicStroke.JOIN_ROUNDBasicStroke.JOIN_BEVELWe draw three thick black lines. Each has thickness 15.