title: read JPanel content
body: <p>Is it possible to read the content of a <code>JPanel</code>?</p>
  
  <p>In my situation, I've got a main JPanel that I called <em><code>container</code></em>, and 3 other JPanels inside it: <em><code>p1</code></em>, <em><code>p2</code></em> and <em><code>p3</code></em>.<br>
  I've also created a class that <code>extends JPanel</code> for a little virtual keyboard (26 buttons) and this implements <code>ActionListener</code>.</p>
  
  <p>The <em><code>p1</code></em> is to display the title of the game, <em><code>p2</code></em> is the virtual keyboard and <em><code>p3</code></em> should display the value of the button I clicked on.</p>
  
  <p>My class <em><code>VirtualKeyboard</code></em> has a constructor that accepts an object of type <code>JPanel</code> (to get the container and hopefully its contents).</p>
  
  <p>Many thanks for your answers.</p>