Of course you could use your "favourite text editor" with Ant, but if you are interested in using an IDE, the following are free and run on most platforms…
Eclipse (IBM sponsored)
NetBeans (Sun Microsystems Sponsored)
Since they are free, download them both and use whichever suits. There is a comparison here from Sun's point-of-view.