I want to be able to store a number of objects and access them, as in with an array or vector. The problem is that you can't use methods of objects while they're in the vector (you can't say: myObjects.elementAt(i).myMethod() ) because while something's in a vector you can only use the methods of the generic 'Object' class. I don't want to use an array because I need to have a variable number of objects at any time. The problem gets even worse when you have a collection of objects which each have within them a collection of objects and you want to access them and their methods. If anyone can tell me what I'm missing or what other collection types I can use I'd be real grateful.
Cheers Descartes
Cheers Descartes