I believe you played the hand well. If he has TT, or less likely, 77 that does indeed suck. More often though he'll have paired his ten, or like they've pointed out be on a straight draw, so I would put my chips in the middle as soon as possible.