* @param type Event type
* @param data Event data
*/
protected void fireLifecycleEvent(String type, Object data) {
LifecycleEvent event = new LifecycleEvent(this, type, data);
Vector list = null;
synchronized (this) {
list = (Vector) listeners.clone();
}
for (int i = 0; i < list.size(); i++)