title: Custom header renderer in JXTable?
body: <p>I was using <a href="http://docs.oracle.com/javase/8/docs/api/javax/swing/JTable.html#setDefaultRenderer-java.lang.Class-javax.swing.table.TableCellRenderer-" rel="nofollow"><code>JTable#setDefaultRenderer</code></a> to set custom rendered in Swing.</p>
  
  <p>As I understood, in <code>SwingX</code> this method should be passed an instance of <code>DefaultTableRenderer</code>. If I need a very custom drawing, I can initialize <code>DefaultTableRenderer</code> with my custom <code>ComponentProvider</code></p>
  
  <p>I.e. renderer functions were moved to provider's.</p>
  
  <p>Now what to do with header?</p>
  
  <p>In Swing I was doing</p>
  
  <pre><code>getTableHeader().setDefaultRenderer(new MyHeaderRenderer());
  </code></pre>
  
  <p>What should I do in SwingX? Use <code>DefaultTableRenderer</code> again?</p>