(CNN) -- Top seed Roger Federer shrugged off the loss of the second set to beat Serbian qualifier Ilija Bozoljack 6-3 6-7 6-4 7-6 to reach the third round at Wimbledon.
The defending champion had to come from two sets down to beat Alejandro Fallo of Colombia on Monday and Bozoljack also troubled the Swiss maestro with a spirited display.
A single break was enough to give Federer the first set on Court One, but he then slipped back into the indifferent form which had haunted him during the Falla match.
Timid play in the tiebreaker allowed the Serbian to level at one set all but Bozoljac double-faulted at break point down at 2-2 to give Federer the crucial lead in the third set.
Even in the fourth set, Federer was missing his opportunities and it needed a tiebreaker to settle it.
Both men exchanged mini-breaks but at match point Federer forced an error from his plucky opponent to seal victory.
Fifth seed Andy Roddick of the United States had to come from a set down to subdue France's Michael Llodra 4-6 6-4 6-1 7-6 on Centre Court.
Roddick, beaten in the final last year by Federer, said Llodra's performance in the opener was "flawless" but he recovered his composure and took the initiative by serving and volleying.
"That was as tough a second-round match as there is in this tournament right now -- he's well versed on how to play on grass," Roddick told Press Association.
Llodra, who won the pre-Wimbledon tournament at Eastbourne, also put pressure on the Roddick service in the second set, but he played a poor 10th game as the American leveled and never recovered.
Serbian third seed Novak Djokovic had been involved in the latest-ever match at Wimbledon, closing out Olivier Rochus at 10.58 pm in his first round match on Monday, but had an easier passage two days later.
He secured a comfortable 7-6 6-1 6-4 win against U.S. qualifier Taylor Dent, who powered down a Wimbledon record 148 mph ace in the second set but to no avail as Djokovic dominated.
2002 champion Lleyton Hewitt continued his fine form on grass after beating Federer in the Halle final as he progressed when Kazakhstan's Evgeny Korolev pulled out due to injury with the Australian leading 6-4 6-4 3-0.
"I love this place. It is my favorite tournament of the year," the Australian 15th seed told AFP.
"When I stop playing it is definitely one of the ones I will miss.
"Winning at Halle gave me a lot of confidence I can play well on this surface but it's going to get tougher from here."