Though that brings up a new problem, it gives an error when I try to add the object:
ArrayList<extendedobject> objects= new ArrayList<extendedobject>();
Class<?> curclass;
try{...
Type: Posts; User: Gravity Games
Though that brings up a new problem, it gives an error when I try to add the object:
ArrayList<extendedobject> objects= new ArrayList<extendedobject>();
Class<?> curclass;
try{...
Alright, but how do I add the object to an Arraylist as opposed to just creating it?
Sorry if I'm just being stupid, but I don't understand what you mean by class definitions. The class I'm trying to load is in the project if that's what you mean. Also, the link you posted links to a...
I googled that package and wasn't able to find what I needed. The closest I found was "getName();", which returns the name of a class as a string. I need to create an object from the class with the...
Well, out of curiosity, is it possible to call a class from the contents of a string.
Here's a psuedo code example of what I mean:
ArrayList <object> objects = new ArrayList <object>();...