Random adventures in Java.