title: Change JTree node icons according to the depth level
body: <p>I'm looking for changing the different icons of my JTree (Swing)</p>
  
  <p>The java documentation explains how to change icons if a node is a leaf or not, but  that's really not what I'm searching.</p>
  
  <p>For me it doesn't matter if a node is a leaf or, I just want to change the icons if the node is in the first/2nd/3rd depth level of the three.</p>