Window flashing fixed for both Java 6 and 7.