added jButton action event for the submit button and radio buttons