Monthly Archives: April 2014


If there’s one disadvantage to using a wireless keyboard, it’s not knowing the status of the Caps Lock.  This becomes particularly frustrating when you’re in a terminal window, for example, and realize the Caps Lock is on only after a few failed attempts to enter a password.  I wrote this utility for the Mac that… Read More »

Playing Sound in Java

This isn’t much of a post, but I’ll put it here for anyone (especially a current tutoring student) who needs it. The SoundClip class I’ve provided can be used to load and play an audio file from within the current JAR’s res folder. Usage In this example, the code will load the file “res/sounds/brick-hit.wav” and… Read More »