I\'m having some issues with my code to draw a Sierpinski\'s Triangle (or Sierpinski\'s Gasket), but I\'m not sure what the problem is. The lines for the triangle are drawn,
Just removing the repaint() call fixed it.
repaint()