/** Installs listeners on the application object. */
 @Override
 protected void installApplicationListeners(Application app) {
   super.installApplicationListeners(app);
   if (applicationListener == null) {
     applicationListener = createApplicationListener();
   }
   app.addPropertyChangeListener(applicationListener);
 }
 /** Installs listeners on the application object. */
 @Override
 protected void uninstallApplicationListeners(Application app) {
   super.uninstallApplicationListeners(app);
   app.removePropertyChangeListener(applicationListener);
 }