This is yet another Java implementation of the classical Rubik's Cube. I tried to make the user interface as simple and obvious as possible. You should be able to figure out how it works. Twist or rotate by pointing and dragging in "natural" directions.
Press s to scramble and r to restore (while positioning the mouse cursor somewhere in the applet region).
The original source code can be found here, but I have hardly documented it at all, so it looks rather cryptic.
(An optional parameter, "bgcolor", has been added. If used, it takes as input a background color as a hexadecimal RGB value, e.g. "25003f" for deep purple. Default is ordinary light gray.)
Here is how the Swedish champion solved the cube: Solution And here is a tutorial for solving Rubik's cube problem Solution