Reread my comment. Nicholson was the dental PATIENT. Don't remember who played the dentist, but it wasn't anyone very memorable, much like most of the cast.
I think it was Jonathan Haze aka Seymour. It was Nicklesons first screen credit. He came in the shop at the beginning.