return false;
} else if (isDroppingMenuBar()) {
adaptable.setMascotLocation(p);
WidgetAdapter target = adaptable.getDropWidget().get(0);
JMenuBar jmb = (JMenuBar) target.getWidget();
JInternalFrame jframe = (JInternalFrame) adaptable.getWidget();
jframe.setJMenuBar(jmb);
target.requestNewName();
jframe.validate();
adaptable.doLayout();
adaptable.validateContent();
adaptable.clearAllSelected();
target.setSelected(true);
adaptable.setDirty(true);
adaptable.addNotify();
adaptable.repaintDesigner();
setDropStatus(JInternalFramePainter.NOOP);
return true;
} else{
if(hasMenuBar()){
JInternalFrame jif = (JInternalFrame) adaptable.getWidget();
JRootPane rootPane = jif.getRootPane();
p=SwingUtilities.convertPoint(rootPane, p, adaptable.getContentPane());
}
return getContentOperation().drop(p);
}
}