File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes How to Sort Date Or Numeric Column in a JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to Sort Date Or Numeric Column in a JTable" Watch "How to Sort Date Or Numeric Column in a JTable" New topic
Author

How to Sort Date Or Numeric Column in a JTable

tina sow
Greenhorn

Joined: Sep 23, 2002
Posts: 13
Helle, i'd like to sort a JTable with columns that contains Date OR Numeric tows.Does anyone has examples of how i could proceed?

Thanks

Tina
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8708
    
    6

There's an old example here. It should give you a start.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
jQuery in Action, 2nd edition
 
subject: How to Sort Date Or Numeric Column in a JTable
 
Similar Threads
jtable
Date in JTable
Jtable sorting; problem with getValueAt
JTable question....again!
JDateChooser in JTable