Please post the full error and updated code. The above wasn't necessarily a solution, but a path to a solution through clarfication
Type: Posts; User: copeg
Please post the full error and updated code. The above wasn't necessarily a solution, but a path to a solution through clarfication
For future reference, please wrap your code in the code tags described in the forum rules.
Break down the nested calls on that line...
Class cl = Main.class;
String name = cl.getName();...