How do you use a Java Library?

前端 未结 5 1950
逝去的感伤
逝去的感伤 2020-12-08 14:18

I\'m trying to use an open source java library to visualize nodes and edges in a graph, but I\'m completely lost.

I have a bunch of jar files in a folder. Clicking o

5条回答
  •  甜味超标
    2020-12-08 14:42

    You should have documentation for these Jars. Some sounds like examples, but one must be the core graph modelling and rendering Jar. Hopefully the examples have source included.

    Just add that Jar to your project in Eclipse (e.g., in a /lib folder in your project, then add it to the build path) and use the documentation to use the code. You can also use Eclipse to look inside the Jar file.

    Unless there is no alternative, it probably isn't worth using a load of third party code that isn't documented at least on the API level, and without any source examples definitely not.

提交回复
热议问题