Window auto

Make nw-src/tests/automatic_tests/window case run automatically.
This update need JRE support.