Treemap Diagram in Java Swing
Learn how to build a TreeMap diagram using the MindFusioni diagramming library for Java. by
Join the DZone community and get the full member experience.Join For Free
In this tutorial, we will build a TreeMap diagram using the MindFusion diagramming library for Java and using IntelliJ as the development IDE.
I. General Setup With Gradle and Maven
We create a new Gradle project, which we name TreemapDiagram. We create a new package called com.mindfusion.tutorial. Then we open File-> Project Structure menu from the IntelliJ toolbar and click on the Libraries item in the menu tree. Then we click the plus sign + and from the project sub menu select Maven . In the dialog that opens, we type mindfusion in the search box. You should see there the available MindFusion Java repositories on Maven. We select the diagram.