* @param point The point in the graph pane.
* @return The object under the specified point, or null if there
* is none or it is not a NamedObj.
*/
private Figure _getFigureUnder(Point2D point) {
GraphPane pane = ((JGraph) getComponent()).getGraphPane();
// Account for the scaling in the pane.
Point2D transformedPoint = new Point2D.Double();
pane.getTransformContext().getInverseTransform().transform(point,
transformedPoint);
FigureLayer layer = pane.getForegroundLayer();
// Find the figure under the point.
// NOTE: Unfortunately, FigureLayer.getCurrentFigure() doesn't
// work with a drop target (I guess it hasn't seen the mouse events),
// so we have to use a lower level mechanism.