This example demonstrates JUNG's ability to use two different layouts to simultaneously display the same graph in two views. Picking and overall transformations are shared between the two views.

Be sure to try out the mouse listeners:

Picking Mode:

TransformingMode:

Both Modes: