• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Control of rows in JTable

 
Xie Ruchang
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was thinking when a user search for all records from the database and say there are 10000 rows,
A. What would happen to the JTable?
B. Has anyone done anything to limit the amount of information to be loaded to the client side?
C. Advanced and dynamic loading of records to the JTable in such an event. {OK, forget about (C), KISS}
Will appreciate especially those who got full marks for GUI to comment. I do not want to have an "overkill" feature.
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I sidestepped the issue by pointing out that the current size of the existing was small and was probably not likely to grow so fast. I said in my choices.txt it was not likely to be an issue considering that the instructions say :
The IT director does not anticipate much reuse of the first Java technology system, but intends to use that system as a learning exercise before going on to a web based system.

SUN brilliantly gives SCJD candiddates a lot of wiggle room with this statement.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, with this assignment, they try the best not to over-complicate things and that means keeping things small, and not having to deal with those more real-life issues like caching records, and Paging data, etc.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic