Modified DisplayWindow to work under Java 8 in Windows.