Jennifer Lopez and Maksim Chmerkovskiy aren't doing much to dispel those dating rumors.

The Dancing With the Stars pro attended Jennifer Lopez's show at Foxwoods Resort Casino in Connecticut on Saturday, and the "friends" kept the good times going at Shrine nightclub. Clubgoers tell Yahoo that the duo "looked like they were having a great time together."

"They were dancing and hung out together for most of the night, and they definitely seemed flirty," said one onlooker. "Although they were with a big group, [Jennifer] seemed to gravitate towards Maks. She looked really happy."

The duo did not leave together, but hugged before parting ways.

Rumors that J.Lo and Maks — who danced together at the American Music Awards last November — were dating surfaced shortly after news broke that the "I Luh Ya Papi" singer and Casper Smart had split.

Although it was confirmed Lopez and Smart, 27, ended their two-year relationship a few weeks ago, the singer told Wendy Williams she has actually "been single for a couple of months."

Lopez sources have insisted that she and Chmerkovskiy, who won Season 18 of DWTS with partner Meryl Davis last month, are just friends.

Should anything progress from their flirty friendship, Lopez is legally free to do whatever she wants.

As of last week, Lopez and Marc Anthony are officially divorced. A Los Angeles County Superior Court judge signed off on the paperwork nearly three years after the singers first broke up.