Sample programs using jung2. Nearly all jung2 capabilities are demonstrated here. Please study the source code for these examples prior to asking how to do something.
'net.sf.jung:jung-samples:2.0'
<dependency> <groupId>net.sf.jung</groupId> <artifactId>jung-samples</artifactId> <version>2.0</version> </dependency>
<dependency org="net.sf.jung" name="jung-samples" rev="2.0"/>
"net.sf.jung", "jung-samples", "2.0"