JMenu subsubmenu = (JMenu) submenu.add(new JMenu(mxResources
.get("position")));
subsubmenu.add(editor.bind(mxResources.get("top"),
new SetLabelPositionAction(mxConstants.ALIGN_TOP,
mxConstants.ALIGN_BOTTOM)));
subsubmenu.add(editor.bind(mxResources.get("middle"),
new SetLabelPositionAction(mxConstants.ALIGN_MIDDLE,
mxConstants.ALIGN_MIDDLE)));
subsubmenu.add(editor.bind(mxResources.get("bottom"),
new SetLabelPositionAction(mxConstants.ALIGN_BOTTOM,
mxConstants.ALIGN_TOP)));
subsubmenu.addSeparator();
subsubmenu.add(editor.bind(mxResources.get("left"),
new SetLabelPositionAction(mxConstants.ALIGN_LEFT,
mxConstants.ALIGN_RIGHT)));
subsubmenu.add(editor.bind(mxResources.get("center"),
new SetLabelPositionAction(mxConstants.ALIGN_CENTER,
mxConstants.ALIGN_CENTER)));
subsubmenu.add(editor.bind(mxResources.get("right"),
new SetLabelPositionAction(mxConstants.ALIGN_RIGHT,
mxConstants.ALIGN_LEFT)));
submenu.addSeparator();
submenu.add(editor.bind(mxResources.get("wordWrap"),