• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable GUI in concurrent environments  RSS feed

 
Ole Bech Mogensen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question regarding display of data records in a JTable. If any other users change the data records, how should this be reflected in the multiple GUI's? Should the server send event to all the clients or is it adequate to assume that records might be out of date and that the users should refresh the JTable contents once in a while using the search mechanism? I am trying to find the adequate level of ambition...
 
Jon Entwistle
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ole,

The way most people approach this is not to try to dynamicaly update the view, but check for dirty reads when updating the database and showing an error message if this is the case.

Regards,

Jon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!