TRENTON - (AP) - A federal judge has thrown out a lawsuit filed by two Democratic legislators who want to legalize sports betting in New Jersey.

The lawsuit filed last year by state Sens. Raymond Lesniak andStephen Sweeney challenged the federal law that bans sports bettingin all but four states.

U.S. District Judge Garrett Brown issued his 19-page opinion onMonday.

It says the senators had no legal standing to bring the suit, inpart because New Jersey voters have not weighed in on the issue.

Lesniak promised to refile the lawsuit in November, if votersapprove a ballot question that asks if the state should offersports betting.

He believes legalized sports betting would help revive theAtlantic City casinos, which have been hurt by competition fromcasinos in neighboring states.