paint() and repaint() in Java

I’ve spent maybe the last two hours browsing and reading up on these methods and the Graphics class, and maybe I’m stupid, haha, but I’m just not understanding them. What are they for? I understand that they’re supposed redraw or update components on the screen, but I have never understood why this is required (I’m … Read more