I want to convert a vector into a string array. I have put in my code:
criteria = (String []) tokenVector.toArray();
I get a ClassCastExceptionError (I can understand why since Vector holds objects which are 'bigger' than strings) - and yet I cannot understand how to resolve it - any ideas would be welcome.