Applet Name: Rubik
Applet Source: Rubik.java
Import(s): java.awt, java.lang.Math
Feature(s): image, mouse
Author: Karl Hornell
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).
Here is the applet tag as it appears in this HTML document:
<applet code="rubik.class" width=120 height=120>