• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SearchWalker Thread / updating Table

 
Mario Zott
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
can you give me your oppinion on the following problem:
Created a SearchWalker Thread which performes criteriaFind on my Flightcontroller, so if nothing was found, it only enables my book / search buttons - which were disabled before starting the thread..., but what should i do with the table if nothing was found, update it with empty FlightTableModel or leave previous records, or should i generally create some sort of output textarea where the user gets some messages, in this case, that no record was found. ??? personally i like the updating with empty TableModel-version the most.
would be great to hear some oppinions...
 
Eric Blische
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mario,
My early design uses an approach similar to that which you mentioned - but if no flights are found my table consists of zero rows. I also provide a "Clear flights table" button that takes it back to zero rows.
Also similar to you, I have a two line scrolling text area at the bottom of my GUI where I display status messages (connecting to remote database, accessing flight information, 'N' records returned). I might make it just one line but allow navigation to scrolled-off messages (via up-arrow). A checkbox menu item off of my menu bar will permit hiding/showing the status bar.
Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic