title: Active Elements in swing JTree, JTable or JList
body: <p>I need a Container with similar <code>JPanel</code>s lined up one below the other which can be selected.  I could:</p>
  
  <ol>
  <li>Use a <code>JList</code> with a custom renderer but those <code>JPanel</code>s would be passive elements, that's not what I want.</li>
  <li>Implement my own Container with 'active' <code>JPanel</code>s but those would not be selectable. Or could they made selectable?
  <em>Maybe a <code>MouseListener</code> and access to the system default selected-background-colors could be a way but it seems a bit too much effort</em></li>
  <li>Use a <code>JTable</code> or <code>JTree</code> with custom cell editors rendering the 'active' <code>JPanel</code>. But these active parts would only react at the 'second' click, first to activate the editor, second to perform the real action of the <code>JPanel</code>. this is also not acceptable.</li>
  </ol>
  
  <hr>
  
  <p>To get a more visual impression, here is an example of what this could mean:</p>
  
  <p>A <code>JList</code> containing list items which have each two functional <code>JButtons</code>.</p>