Dendrogram is not a regular diagram. Should I use any component from javax.swing.* library, or just draw it with java.awt.Graphics?
A:
I don't think there is a standard component for this. Unless some component vendor has done one, you should go the Java 2D way...
If you don't want to do the hard work, perhaps one of the above mentioned libraries might help you. Otherwise, GraphViz is good at making this kind of diagram, and has a Java API (untested...).
Another possible way is to use some physics to let the nodes arrange themselves in an harmonious way. That's how Aharef's HTML graph works...
PhiLho
2008-11-07 20:37:40