title: Swing rendering... does it always have to be repaint() and paintComponent()?
body: <p>In my program I am using Swing windows for my GUI, and I know that I'm supposed to use repaint and paintComponent methods to render swing components. I also have several custom class objects that need to be rendered inside the main window. For the sake of understanding, my program is a game that will have moving objects that need to be rendered 60 times per second.</p>
  
  <p>In a game development tutorial I watched, the guy used a Jframe with Canvas, but he didn't use the paintComponent method. He simply made his own render() methods to draw all the graphics using graphics context he obtained from creating a bufferStrategy.</p>
  
  <p>So if that works (which it does), why does everyone say to use the paintComponent methods and what exactly is the difference between them?</p>
  
  <p>If I were to use the paintComponent way of doing things, how would I use bufferStrategy with that?</p>