The role of Mr. Roberts was played by Henry Fonda , and the film also starred James Cagney's nephew, James Whitmore .