Please set XAPPLRESDIR=. before running the examples
