That was the TV movie Crime Of Innocence where he sentenced juveniles to hard labor.
The movie A Face In The Crowd from 1957 is hard for me to watch, he plays a character whose overnight fame overtakes his morals. Couldn't be further from the role-model he was in Mayberry. A great actor who gave us a lot.