title: JTable cell span merge
body: <p>Hi I'm having a problem with Java JTable. I want to merge or span cells. I did it using this examples: </p>
  
  <p><a href="http://www.java3z.com/cwbwebhome/article/article5/swing_example/JTableExamples4.html" rel="nofollow">http://www.java3z.com/cwbwebhome/article/article5/swing_example/JTableExamples4.html</a>
   (last 2 ones)</p>
  
  <p>It works but the header and the cells width are not the same size. The problem agravates when there are more 20 columns, the last cells appear just half. Does anyone know how to solve this problem of synchronizing cells and headers? Does anyone have another CellSpan example/way?</p>
  
  <p>If someone try to run this examples will get StackOverFlow error,to solve, justo change this line: <em>setColumnIdentifiers(columnNames);</em> to   <em>columnIdentifiers = columnNames;</em> at AttributiveCellTableModel class. Thanks in Advance!!</p>