844845846847848849850851852853854
} void setToolAndCursor(JGraphEditorTool tool) { JGraph graph = diagramPane.getGraph(); toolbox.setSelectionTool(tool, graph); graph.requestFocus(); } void setup() { }