Eclipse is a good IDE for general purpose programming. But EJS is designed for science teacher or students. Please check out
[url=http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6TJ5-4B3NPMC-1&_user=10&_rdoc=1&_fmt=&_orig=search&_sort=d&view=c&_acct=C000050221&_version=1&_urlVersion=0&_userid=10&md5=3fa46ca6bd6f771182b485540646ff2f]Easy Java Simulations: a software tool to create scientific simulations in Java[/url] which is written by EJS original author: Francisco Esquembre
and do not forget to visit [url=http://fem.um.es/EjsWiki/]Offcial EJS WiKi Page[/url]

I think you will like it!