Are you really sure that it is of type JInternalFrame?
Try doing a sysout with the class name.
System.out.println(obj.getClass().getName());
Then again if you REALLY know what type it will...
Type: Posts; User: Json
Are you really sure that it is of type JInternalFrame?
Try doing a sysout with the class name.
System.out.println(obj.getClass().getName());
Then again if you REALLY know what type it will...
Hello,
To be able to load classes using reflection the class will have to be on your running programs classpath or you will get a class not found exception.
So for instance you might have a...