Jennifer Lopez
Singer Jennifer Lopez arrives at the BAFTA Brits to Watch event in Los Angeles, California July 9, 2011. Britain's Prince William and his wife Catherine, Duchess of Cambridge, who are on a royal visit to California from July 8 to July 10, will attend the event. REUTERS

In her first interview since splitting from Marc Anthony, Jennifer Lopez talks opens up about her previous relationships, her children and her respect for Anthony, reports USA Today.

"Sometimes we don't realize that we are compromising ourselves . . . if I stay, then I am not doing the right thing for me. I love myself enough to walk away from that now," Lopez says in the September issue of Vanity Fair.

Lopez also said that Anthony will always be in her life and their children's lives.

"We actually work great together, and he was always very supportive. Together we could make magic - and we did . . . he will always hold a special place in my heart as the father of my children," Lopez told Vanity Fair.

Lopez and Anthony, both 42, are parents to 3-year-old twins, Max and Emme.

On July 15, the couple announced in a joint statement that they were splitting up.

"This was a very difficult decision. We have come to an amicable conclusion on all matters," the pair told People.

In the Vanity Fair interview, Lopez also talks about her belief in love.

"It's still my biggest dream. I am positive - determined to move forward with my life, bring up my babies, and do the best job I can as a mother, entertainer, and person. I now look forward to new challenges. I feel strong," Lopez said.

Meanwhile, it was learned Monday that Lopez will continue her duties as a judge on "American Idol," for at least one more season.

The singer will make approximately $20 million, but a deal has not been signed, TheWrap reports. In her debut season with the Fox show, Lopez made $12 million.