hi,
I want to make an application in java to visualize on graphic the network (the name and addresses of local servers of the company ... for example) using the tracert command, if any one can enlighten me that idea, because Internet is a wide world.

Recommended Answers

I recomend you to use GraphViz, it is a really simple to use graph toolkit I used it to represent codeblocks withing thre address code in order to run some optimizations.

then …

Jump to Post

oh by the way, you will need the graphviz java api

http://www.loria.fr/~szathmar/off/projects/java/GraphVizAPI/index.php

and if you want a pure java implementation you can use

Jump to Post

All 5 Replies

I recomend you to use GraphViz, it is a really simple to use graph toolkit I used it to represent codeblocks withing thre address code in order to run some optimizations.

then you run the tracert like:

Process p;
p =Runtime.getRuntime().exec("tracert <options>");
readResult(p.getInputStream());
p.destroy();

where readResult is where you handle the inputstream and draw the graph by parsing the results.

Hope it helps

thanks a lot RicardoE ^_^

hi,
I want to make an application in java to visualize on graphic the network (the name and addresses of local servers of the company ... for example) using the tracert command, if any one can enlighten me that idea, because Internet is a wide world.

Suggest look at www.codimatech.com they are visulizing networks you may even want to contact the developers in that company as they have spent 10 years+ on your subject

thanks a lot cmattsson :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.