A federal judge has set a July 15 trial date for the former FBI director on charges he threatened the president with a beach photo.