aussiemcgr
Sep 26 2008, 07:13 PM
I am in the process of learning .java through a course at school and I wanted to know if it was possible to create a table (with rows or columns) that will order themselves in the way I specify. Basically, the table will have 21 rows or objects, each with 5 columns or parts to each object. One of the columns and one of the rows stays where they are. The purpose of it is basically just a ranking list. Tell me if you guys understand what I'm asking and if you can help out.
MH-Dolly
Dec 9 2008, 02:17 PM
QUOTE(aussiemcgr @ Sep 26 2008, 07:13 PM)

I am in the process of learning .java through a course at school and I wanted to know if it was possible to create a table (with rows or columns) that will order themselves in the way I specify. Basically, the table will have 21 rows or objects, each with 5 columns or parts to each object. One of the columns and one of the rows stays where they are. The purpose of it is basically just a ranking list. Tell me if you guys understand what I'm asking and if you can help out.
I understand and it is posible!
Look at those examples:
http://www.java2s.com/Tutorial/Java/0240__...JTable-Sort.htmhttp://www.exampledepot.com/egs/javax.swin...ble/Sorter.html