public Color getColorForDisk(int num)
    {
        try {
            byte[] bytesOfMessage = String.valueOf(num).getBytes();
            MessageDigest md = MessageDigest.getInstance("MD5");
            byte[] d = md.digest(bytesOfMessage);
            return new Color((int)d[0] + 128, (int)d[1] + 128, (int)d[2] + 128);
        }
        catch (Exception ex) {
            return null;
        }
    }