title: Trying not to mix Swing and AWT
body: <p>I'm making a game in Java. I found this tutorial: 
  <a href="http://www.gamedev.net/page/resources/_/technical/general-programming/java-games-active-rendering-r2418" rel="nofollow">http://www.gamedev.net/page/resources/_/technical/general-programming/java-games-active-rendering-r2418</a></p>
  
  <p>It shows how to do active rendering. They use a Canvas to paint. I've been using JPanel's up until this point; however, I'd like to switch over to this method. Now, I have several JPanels and some JButtons added to the JPanels. I would like to know if I should switch over to java.awt.Button and java.awt.Panel instead so that I don't mix Swing and AWT Components. </p>
  
  <p>On the other hand, in the tutorial the Canvas is inside a JFrame, so isn't that already mixing Swing and AWT? Is that okay?</p>
  
  <p>Thanks.</p>