fig3.14 : Text box demo