Eclipse is a good IDE for general purpose programming. But EJS is designed for science teacher or students. Please check out
[url=]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=]Offcial EJS WiKi Page[/url]

I think you will like it!