don't use NotificationListener.Adapter because it is not available in IntelliJ IDEA 12.0.1