Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent!!!  RSS feed

 
wip siva
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am displaying live data on a JTable.there will be six columns.data will be keep on updating on the table.if one particular data comes to the row that row should be highlighted with different color.
plz help me with example code.
thanx in advance
bye
 
Vlad G
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to add a listener to the TableModel which will receive change events and update the view (JTable) appropriately.
--VG
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!