The same bug as described in Artifact ID: 1675247 happens when launching the GraphEditorDemo as a standalone application rather than as an Applet.
This behaviour can be avoided by changing the way of constructing the JFrame. In the main method of edu.uci.ics.jung.samples.GraphEditorDemo the ContentPane of the JApplet demo should be added to the JFrame frame instead of adding the demo itself. See suggested fix in the attached file.
Suggested fixed version of the GraphEditorDemo
Thanks you!