Update WindowEvents.java

added comments