开发者

JUNG - adding an edge or a node dynamically in a graph

I use Java and Jung for an application with graphs. I want to add dynamically an edge to a graph while it is visible. In particular, I choose a node开发者_Go百科 from a list (JComboBox) and when I press a button an edge shall be created between that node and a given node. However, when I do that I get a Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException message. I would appreciate any help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜