public void configure ( String key , String value ) { if ( "x" . equalsIgnoreCase ( key ) ) { xText = value ; } else if ( "y" . equalsIgnoreCase ( key ) ) { yText = value ; } }
Can accept X and Y text values to be printed out .