• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to convert string dates to Object dates when instancing AbstractTableModel in a Jtable  RSS feed

 
joe encalada
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've a TableModel which extends from AbstractTableModel and here are members of my TableModel.

       
I've been looking arround and there are lots solutions but can you suggest me which way is better to convert all the dates in string format to values in date format at moment I instance  my TableModel to be used in a JTable.

I hope you can help me.
 
Rob Camick
Ranch Foreman
Posts: 2822
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope you can help me.


I could, but I helped you here: https://coderanch.com/t/671895/java/combine-groups-filters-TableModel-setRowFilter and you never bothered to reply, so I'll skip this one.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!