Thread: array list sort
View Single Post
  #3 (permalink)  
Old October 19th, 2003, 12:50 PM
Martyn Martyn is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You haven't yet replied stating the description of the error message that you are getting, therefore I'm going to take a guess as to what I think might be the problem. Does the class AddressEntry implement the Comparable interface? If not, that is your problem.

See the following URL for some brief assistance:

http://developer.java.sun.com/develo...01/tt1023.html

Cheers

Martyn