/** * Dispatch this event to the listeners for the Application events. * * @param event Description of the Parameter */ private void delegateApplicationEvent(ApplicationEvent event) { ApplicationListener[] listeners; synchronized (applicationListeners) { listeners = (ApplicationListener[]) applicationListeners.toArray(new ApplicationListener[applicationListeners.size()]); } for (int i = 0; i < listeners.length; i++) { ApplicationListener eventListener = listeners[i]; // Just this for the time being. eventListener.blueJReady(event); } }