Bill's Java Work I have 10 years experience writing embedded C code. In the Spring of 2002, I decided to learn Java. I've posted here a couple of my Java learning projects: a Java Minesweeper Applet, and a J2ME program for a Motorola iDEN cell phone. My goal is to demonstrate some competence in Java, so I've posted my source code. Minesweeper Applet If you are using the Safari browser on the Mac, IE for Windows XP, or Firefox, the applet below should run without difficulty. If you are running a Windows browser that dates from the Java/Browser wars, you may need the Java plug-in to run this Applet. If you don't have it, you can get the Java plug-in here. After installing the Java plug-in, you will need to restart your browser, and return to this page to play the game. This Applet was written using Swing components and J2 SDK 1.4. I should have realized when I started this Java learning project how Windows-centric the Minesweeper game is. It depends on a two-button mouse. Happily, a two-button Microsoft mouse with a scroll wheel works beautifully on a Mac, and is useful for many things besides Minesweeper. I love almost everything about my iMac, but I've long since thrown away the awkward, one-button Mac mouse. Minesweeper, by the way, is a registered trademark of Microsoft, and the creation of Robert Donner and Curt Johnson. If my applet comes to their attention, I hope they will perceive my imitation as the sincerest form of flattery, and not as commercial use.
Download the source code. |