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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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