boon/src/main/java/org/boon/messages/MessageUtils.java
public static String getLabel( final String fieldName,
                                   final ResourceBundle bundle ) {

        String label;

        /** Look for fieldName, e.g., firstName. */
        try {
            label = bundle.getString( fieldName );
        } catch ( MissingResourceException mre ) {
            label = generateLabelValue( fieldName );
        }

        return label;
    }
public static String getLabel( final String fieldName,
                                   final ResourceBundle bundle ) {

        String label;

        /** Look for fieldName, e.g., firstName. */
        try {
            label = bundle.getString( fieldName );
        } catch ( MissingResourceException mre ) {
            label = generateLabelValue( fieldName );
        }

        return label;
    }
public static String getLabel ( final String fieldName , final ResourceBundle bundle ) { String label ; /** Look for fieldName, e.g., firstName. */ try { label = bundle . getString ( fieldName ) ; } catch ( MissingResourceException mre ) { label = generateLabelValue ( fieldName ) ; } return label ; }
Get the field label.

@param fieldName fieldName
@param bundle    ResourceBundle
@return Label from the Message Source.
Get the field label .