"Linewidth")));
submenu = (JMenu) menu.add(new JMenu(mxResources.get("connector")));
submenu.add(editor.bind(mxResources.get("straight"),
new SetStyleAction("straight"),
"/com/mxgraph/examples/swing/images/straight.gif"));
submenu.add(editor.bind(mxResources.get("horizontal"),
new SetStyleAction(""),
"/com/mxgraph/examples/swing/images/connect.gif"));
submenu.add(editor.bind(mxResources.get("vertical"),
new SetStyleAction("vertical"),
"/com/mxgraph/examples/swing/images/vertical.gif"));
submenu.addSeparator();
submenu.add(editor.bind(mxResources.get("entityRelation"),
new SetStyleAction("edgeStyle=mxEdgeStyle.EntityRelation"),
"/com/mxgraph/examples/swing/images/entity.gif"));
submenu.add(editor.bind(mxResources.get("arrow"), new SetStyleAction(
"arrow"), "/com/mxgraph/examples/swing/images/arrow.gif"));
submenu.addSeparator();
submenu.add(editor.bind(mxResources.get("plain"), new ToggleAction(