public int compareToObj(Object obj){
String temp = null;
try{
temp = (String)(obj);
}catch(Exception e){
throw new ClassCastException();

}


return compareTo(temp);
}

for some reson this will not cast to a String, and i know i am sending it a String. Any body have any ideas?