updated validatequestion.java jpanel