title: Swing: How could I use JTree with JTextPanes as nodes?
body: <p><code>JTree</code> uses <code>DefaultTreeCellRenderer</code> as cell renderer.<br>
  This class is a subclass of <code>JLabel</code>.</p>
  
  <p>I want to use <code>JTree</code> with more complex elements than <code>JLabel</code>, such as 
  <code>JTextPane</code>.</p>
  
  <p>Problem is: I can't subclass <code>DefaultTreeCellRenderer</code>, because it
  would still be a <code>JLabel</code>.</p>
  
  <p>Writing an own <code>TreeCellRenderer</code> is too complex.<br>
  Why? Because: <code>DefaultTreeCellRenderer</code> has 17 fields,
  and does much more than just implementing <code>TreeCellRenderer</code>'s
  <code>getTreeCellRendererComponent(...)</code>.</p>
  
  <p>What simple solution can you devise?</p>
  
  <p>I need the tree elements to be <code>JTextPane</code>s to be able to perform complex formatting.</p>