create an array list, then add an array list to it as the object. to add an object in to the matrix, you have to get the array list at that row, type cast it back to an ArrayList (because array list only holds type Object), then add something to that array list. to access the objects held by the matrix, you get the appropriate row, type cast that row to an ArrayList, then get the appropriate column and type cast that column back to the appropriate object (in this case
String).
also note that the matrix doesn't have to be square - it can have rows of differing lengths.
[ April 02, 2003: Message edited by: Jon Dornback ]