fixed errors in class for instructions JFrame