title: want a java swing tableview example
body: <h2>We are developing a java Swing application .I want to add a  table in a <code>JTextPane</code>, the table can be resized and shoude be support multi-span (row and column).It seems java Swing table view support this, but I cant find any example of this. Can someone help me?</h2>
  
  <p>I am not familiar with the java swing View structure,I just don't understand how to calculate the view's spans and offsets. After debuging again and again , I make some progress. I will spend more time on it.Thank you ,everybody.</p>