Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

table sorter

 
Moses Herrada
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys i have a table and i have a table model that extends DefaultTableModel. I used the table sorter codes that is provided by sun to implement my table sorter. When i click on the column name of the table, it can only sort once...but i want the table to be able to sort as long as the user clicks on the columns

could it be that the table sorter implemented by sun extends AbstractTableModel while my table model extends DefaultTableModel?
some1 pls enlighten me thx
 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope this would help you out. This is also sun example.





 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic