public void capitalizeNameHead (Boolean bool)
    {
        if (nameReal.length() <= 0)
            return;
        if (!bool)
        {
            name = nameReal;
            return;
        }
        String[] names = nameReal.split("\\.");
        name = "";
        int len = names.length;
        for (int i = 0; i < len; i++)
        {
            String s = names[i];
            if (s.length() < 1)
                continue;
            s = s.substring(0, 1).toUpperCase() + s.substring(1, s.length());
            name += s;
            if (i + 1 < len)
                name += ".";
        }
    }