John Higgins kept his nerve to knock in a century in the sixth frame against Judd Trump at the European Masters.