JmeClientMain.getFrame().addToWindowMenu(paletteHUDMI, 6);
// Register the handler for CellServerState flavors with the system-wide
// drag and drop manager. When the preview icon is dragged from the Cell
// Palette this handler creates an instance of the cell in the world.
DragAndDropManager
dndManager =
DragAndDropManager.getDragAndDropManager();
dndManager.registerDataFlavorHandler(dndHandler);
}