I\'m making a game with a timer and a JFrame (and many other things but only these 2 are causing problems), and after running the segments below, I got a weird error. At least f
The method to override is paintComponent() not "paintComponents" (with an s).
You should never invoke the paintComponent() method directly. Instead you invoke the repaint() method on the component.