Interactive Web Physics is a Java, Web-based animation and problem designer tool. Anyone can quickly design mathematics or physics animations and simulations that run in a web browser. Unlike other solutions, no knowledge of programming is required.
Pocket Cube J3D is a simulator of a Pocket Cube, in Java language and Java 3D graphics API. Java 3D is available at: http://www.oracle.com/technetwork/java/javase/tech/index-jsp-138252.html