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
RicardoE
Junior Poster in Training
73 posts since Jan 2010
Reputation Points: 21
Solved Threads: 7
RicardoE
Junior Poster in Training
73 posts since Jan 2010
Reputation Points: 21
Solved Threads: 7