Perhaps you are thinking of:
* "The Last Picture Show" (1971) which features a character named "Joey" played by Timothy Bottoms.
* "Annie Hall" (1977) features a character named "Joey" played by Tony Roberts.
* "Saturday Night Fever" (1977) features a character named "Joey" played by Henry Winkler.
Please double-check the movie title and year, and I can provide you with the cast list.