email me at borlaj@portlandschools.org

Loading
notes previous (11/<11) submit the dump links  
 

Set stroke, thickness (line width)

 

Set thickness of line: .

  • Graphics2D g2 = (Graphics2D)g;
    g2.setStroke(new BasicStroke(10));
  • //now draw line as normal