PulpCore is a really impressive framework for creating Java applet games that use smooth and rich 2D animations. It's open source too. Try the Milpa game demo, I had to double check that it was really using Java, not Flash.
http://code.google.com/p/pulpcore/
http://www.interactivepulp.com/pulpcore/