This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes Paging JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Paging JTable" Watch "Paging JTable" New topic
Author

Paging JTable

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
Can anybody explain how to do paging with JTable.Example i have a 1000 record in the table.Now first,previous,next and last buttons also.How to do this kind of paging in JTable.


Thanks,
Mathews
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1131

Mathews,
There is an example of this in the book Java Swing (by Marc Loy, Robert Eckstein, Dave Wood and James Elliott), in chapter 16. The book's sample code can be downloaded from the same URL.
Good Luck,
Avi.
Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
Thanks You.
 
wood burning stoves
 
subject: Paging JTable