added license to validatePanel.java