title: Is a JPanel represented as a class of its own in a Class Diagram?
body: <p>I am developing a Java application that will have a JFrame with a tabbed pane inside it consisting of eight tabs. Each tab will have a JPanel in it.</p>
  
  <p>If I am to draw a class diagram of this application, would the JPanels be represented as classes on their own under the JFrame's class or would I just include their attributes and behaviors in the JFrame's class?</p>