Java Puzzle Applet - History

Here is the place where you can find out what I recently did to the applet to make it better. You can also download some of the previous versions of the applet, just in case. I wouldn't suggest it. If you do decide to download an old version, you will need to remove the version number at the end. For applets prior to version 4.4, the name should be 'Puzzle.class'. For 4.4 and later, the name is 'puzzle.class'. Yes, the capitalization matters. Also, some features as defined on the usage page may not be implemented. You've been warned.

4.4 (current release)
Finally released the source to the program.
Added xstyle, bar, website, and resize parameters.
Even cleaned some code to try to make it more efficient.
Added about 4k to the size, unfortunately.
Updated web page and email addresses to my new home.
Changed name to 'puzzle.class' instead of 'Puzzle.class'
Fixed the email addresses.
Fixed web page URL.
Took the feature added in version 4.1 and made a separate button for it.
When you click on "Correct", you toggle the ShowX mode on and off for helping you to determine which pieces are out of place.
Uses "implements runnable".
Fixed annoying update bug finally!
Attempts to resize applet to size of picture
Netscape doesn't work with this.
My applet tester from Sun does work.
Redownloads image if it is messed up.
Better memory management.
Mixing routine speeded up a little.
The "Mix" button now paints the applet black before drawing the pieces on the screen.
Rewrote the mixing routine for sliding type puzzles so that they are always solveable.
Fixed a bug with "null" showing up in the url for the second page.
Added the prefixurl and postfixurl parameters.
Correctly made url be a relative URL, which means that you can not put "" in url, but you can still put in "/path/to/page.html".
There was a problem with the sound file downloading and playing when there was no sound file specified.
Optimized one routine
Hopefully eliminated a delay bug when the puzzle was finished.
Made the Mix button green with blue background
Now, when you have lots of pieces and you swap two pieces (or slide one), only the two pieces which changed are updated instead of the entire puzzle.
Added warning if the image is too big for the applet.
I finally killed a pesky bug where the image cropping was hanging the system.
Made the Mix button blue.
I think I solved a problem with the URL loading incorrectly.
Did a lot of small internal changes.
Added a second swap puzzle type.
Display a lot more information to the status bar (the thingie at the bottom of the screen) and to the Java Console.
Restructured some code to get rid of a problem (hopefully) [I failed]
Squished another minor bug.
Now, if you go "back" after the puzzle moved you to a new URL, the puzzle won't move you again.
Fixed a bug where you click before it is loaded and it crashes.
Speeded up graphic displays a little.
Speeded up cropping a little.
Uses less memory.
Faster routines.
Added a status display to the status bar (the bottom thing)
Now counts the columns it has to count instead of each individual picture.
Speeded up cropping of images.
Now uses much less memory when chopping pieces.
Taken out a couple of minor bugs.
Allow usage of another type of puzzle -- the slide puzzle!
Only uses one image file.
Specify where image is.
Specify where sound is.
Display is much faster (no flickering anymore).
Doesn't display images until all pieces are loaded.
Display is faster.
Does not load sound until images have been loaded.
Each year, kids in North America spend close to half a billion dollars on chewing gum. Tyler Akins <>
Contact Me - Legal Info