Point p = evt.getPoint();
p.translate(this.getX(), this.getY());
Component c = getParent().getComponentAt(p);
if(c != null && c instanceof FB && c != this){
FB other = (FB)c;
FBNetworkDialog fbDialog = new FBNetworkDialog((Element)elem.getParentNode(), evt);
fbDialog.setSourceFBName(getFBName());
fbDialog.setDestinationFBName(other.getFBName());
fbDialog.create("Add Connection");
}
}
}