public void accept(Widget widget, Point point, Transferable transferable) {
Image image = getImageFromTransferable(transferable);
try {
Object o = null;
PaletteItem pal = (PaletteItem) transferable.getTransferData(ActiveEditorDrop.FLAVOR);
LayoutCalculator calc = UpdateNodeTask.getInstance().getLastScore().layoutCalculator;
SimpleNode el = calc.getElementAtPoint(point.x, point.y);
if (el == null) {
return;
}
pal.handleGuiTransfer(el);
// LilyPondViewTopComponent.findInstance().requestFocus(false);
_this.getView().requestFocus();
SwingUtilities.invokeLater(new Runnable() {
public void run() {