}
public void onApplicationEvent(ApplicationEvent e) {
if (e instanceof LifecycleApplicationEvent) {
LifecycleApplicationEvent le = (LifecycleApplicationEvent)e;
if (le.getEventType() == LifecycleApplicationEvent.CREATED && le.objectIs(Owner.class)) {
if (ownersTree != null) {
DefaultMutableTreeNode root = (DefaultMutableTreeNode)ownersTreeModel.getRoot();
root.add(new DefaultMutableTreeNode(le.getObject()));
ownersTreeModel.nodeStructureChanged(root);
}