This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Never use new Random().nextAnything(); It is not as bad as it used to be under Java 1.4, but there is a risk of getting the same number sequence again. Read the Random API documentation, and look carefully for what you quoted, namely nextInt(). You probably mean less than or equal to 255, so pass 256 not 255.