File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Sorting and inserting data in JTable
Joined: Jul 07, 2001
Jul 07, 2001 07:41:00
How can i do the sorting the data in the
? How can i insert new row in the proper position in the sorted table ? I don't want to reintialise the
or the model
Joined: Jul 06, 2001
Jul 07, 2001 09:45:00
There is a table sorter example in sun site.. follow the
It doesnt matter whether the table is sorted or not,
you can always use TableModel.insertRow() method to insert
a new row.
I agree. Here's the link:
subject: Sorting and inserting data in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015