@SuppressWarnings("unchecked")
    private void buildColumnInformation(Method theMethod, String theMethodName) {
        //  Make sure the method returns an appropriate type

        Class returnType = getReturnType(theMethod);

        if (returnType == null) return;

        //  Convert the method name to a display name for each column and
        //  then check for a related "set" method.

        String headerName = formatColumnName(theMethodName);

        Method setMethod = null;

        try {
            String setMethodName = "set" + theMethodName;
            setMethod = beanClass.getMethod(setMethodName, theMethod.getReturnType());
        } catch (NoSuchMethodException e) {
        }

        //  We have all the information we need, so save it for later use
        //  by the table model methods.

        ColumnInformation ci = new ColumnInformation(headerName, returnType, theMethod, setMethod);
        columns.add(ci);
    }