Reuse Gephi's Source Code Problems

User's perspective on software quality
Post Reply
Posts: 6
Joined: 05 Mar 2014 14:11

Reuse Gephi's Source Code Problems

Post by hamtaro » 06 Apr 2014 18:58

Hi everybody,

I'm a student and not good at Java. I want to write my Modularity base on Modularity source code of Gephi. So I try to use Gephi's toolkit and reuse Modularity source code of Gephi follow steps:
1. add toolkit into Netbean
2. create class "" in "mypackages"
3. copy all Modularity source code to "" (I haven't fixed anything, just copy and paste)

After these steps I get 2 errors:
Error 1: Missing an attribute. But I don't know what attribute I must add.
Error 2: Toolkit library not suppose function setAttribute(a,b). But Gephi's source code use this function. Can I create and add this function to use? How can I create? Where do I put it?

I need your help.

Post Reply