This sample is a Java visual class that demonstrates a puzzle game that counts the number of moves it takes to for you to arrange the puzzle pieces in the correct order. The graphical user interface (GUI) was designed using Swing components in the Java visual editor.
To import the sample, click the Import the sample link. The New Example Java Visual Class wizard opens. Enter the location of an existing Java project, and specify the package where the Java class will be imported.
After you import the sample and open it in the Java visual editor, you can run the application by clicking .