Menu

Copy graph from a grapher to another grapher

2012-04-04
2013-05-29
  • Cristina-Vasilica

    Hello,

    I'm working on a project that uses jung-1.7.5.
    In my project beside a main personalised grapher I created another grapher that is used in order to create a graph that it will be copied to the main grapher and vice versa.
    In the moment when the user is adding a new vertex to the graph, if the graph wasn't created in the curent grapher I receive a java.lang.NullPointerException because the current drawArea is null.

    What should I do in order to solve the problem?

    Thank you very much.

     
  • Joshua O'Madadhain

    Versions of JUNG prior to 2.0 are no longer supported.  It's been several years since 2.0 came out.

    Also, for future reference, please use the class/interface names defined in the API.  I have no idea what you mean by a "grapher".  (Graph class?  Visualization?  Some combination?)

    Joshua

     

Log in to post a comment.