• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client GUI Refresh question

 
xiao gao
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all
It is my first posting though I have been a silent observer for a long time.
From my requirement, I know the book result is not required to be displayed on other clients' machines, that means, if I book 2 seats for a flight, other clients will not know that change. But is it necessary to refresh my own JTable to display the change of this booking process?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it would be nice. I have mine, and all I had to do to refresh was call the criteriaFind method and refresh the JTable.
Not sure if it is mandatory, but would it affect your booking function. Meaning, if you don't refresh and there are 10 seats. You book 4, then 4 more, then 4 more. To the user there are still 10 seats showing in your Table, even though the last booking won't go through.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic