Should Swing games only have a drawing component?
<p>I've been using a <code>JPanel</code> and overriding <code>paintComponent()</code> in order to perform my drawing in Swing games. I'm now trying to add an inventory, which will contain different items the player can drag around and move to different slots in his "backpack" on the screen. Should Swing games only draw on a single <code>JPanel</code> or other component (example: draw images of item at mouse location) or can you add <code>JButton</code>s whose icons are pictures of the items?</p>

<p>Should the game only have the one drawing component, or can you include more?</p>