generator.getSimpleRandomGraph(aGraph, nodeCount, edgeCount, allowSelfLoops, allowMultipleEdges, forceConnected);
mxGraphStructure.setDefaultGraphStyle(aGraph, false);
mxOrganicLayout layout = new mxOrganicLayout(graph);
layout.execute(graph.getDefaultParent());
graph.getModel().endUpdate();
setVisible(false);
}
});
closeButton.addActionListener(new ActionListener()