Reflection does not show changes
Runner is simply a wrapper class that contains an instance of the object inside it. the Runner.run() method invokes the run() method of the object inside the class. I am not using threading of any type.
...
Object o = listmodel.getElementAt(classlist.getSelectedIndex());
((Runner)o).run();
Field[] fields = ((Runner) o).getType().getDeclaredFields();
Field.setAccessible(fields, true);
for(Field f: fields)
{
f.setAccessible(true);
output.append(f.getType().toString() + " " + f.getName() + " = ");
try
{
output.append(f.get(((Runner) o).getType().newInstance()) + "\n");
}
catch(IllegalAccessException iae1)
{
output.append("\nIllegalAccessException\n");
}
catch(InstantiationException ie1)
{
output.append("\nInstantiationException\n");
}
}
Any help with this is GREATLY appreciated, thanks a bunch.

