title: Swing: listeners execution order on custom component
body: <p>My custom component is composed of three <code>JTree</code>s inside a <code>JPanel</code>. Only one <code>JTree</code> should be selected at a time, so I've added a <code>TreeSelectionListener</code> to each of them that calls <code>clearSelection</code> on the previously selected <code>JTree</code>.</p>
  
  <p>I'd like to add other <code>TreeSelectionListener</code>s to the <code>JTree</code>s being sure that the selection- handling listeners always get executed first. I'd prefer not to put everything in one single <code>TreeSelectionListener</code>. </p>
  
  <p>What should I do? Thanks in advance!</p>