src/bunnj/FaceMaker.java
private Shape createHead(String givenShape) {
        final int xLeft = (WINDOW_SIZE-HEAD_SIZE)/2;
        final int yBottom = (WINDOW_SIZE-HEAD_SIZE)/2;

        String name = faceMap.get("headName").getText();
        return determineShape(givenShape, xLeft, yBottom, HEAD_SIZE, HEAD_SIZE, Color.WHITE, name);
    }
/**
     * Creates and returns a shape representing the head
     * @param givenShape a String representing the given shape
     * @return shape representing the head
     */
Creates and returns a shape representing the head
@param givenShape a String representing the given shape
@return shape representing the head
Creates and returns a shape representing the head @param givenShape a String representing the given shape @return shape representing the head
private Shape createHead(String givenShape) {
        final int xLeft = (WINDOW_SIZE-HEAD_SIZE)/2;
        final int yBottom = (WINDOW_SIZE-HEAD_SIZE)/2;
        String name = faceMap.get("headName").getText();
        return determineShape(givenShape, xLeft, yBottom, HEAD_SIZE, HEAD_SIZE, Color.WHITE, name);
    }
private Shape createHead ( String givenShape ) { final int xLeft = ( WINDOW_SIZE - HEAD_SIZE ) / 2 ; final int yBottom = ( WINDOW_SIZE - HEAD_SIZE ) / 2 ; String name = faceMap . get ( "headName" ) . getText ( ) ; return determineShape ( givenShape , xLeft , yBottom , HEAD_SIZE , HEAD_SIZE , Color . WHITE , name ) ; }
Creates and returns a shape representing the head
 @param givenShape a String representing the given shape
 @return shape representing the head
Creates and returns a shape representing the head @param givenShape a String representing the given shape @return shape representing the head