Hello all,
I have a Vector that I previously filled with
String values coming from a String[][] array.
Now , I need to get back my String [][] array from the vector.
The method Vector.toArray(Object[] a) doesn't works and I don't knwo why.
This code will not work and will throw a java.lang.ArrayStoreException,
unless I uncomment the for loop and comment this line :columns=(String[])subVector.toArray(columns);
I don't understand why? Isn't it supposed to do the same?
If anybody has an idea, I would be glad to understand.
Thx in advance
[ April 03, 2003: Message edited by: Younes Essouabni ]