strength of lines - draw thick lines
java.awt.Graphics2D
java.awt.Stroke
The code-example draws a line with a thickness of three pixel:
public void paint(Graphics g) { Graphics2D g2 = (Graphics2D)g; g2.setStroke(new BasicStroke(3)); g2.drawLine(0, 0, 100, 100); }