Quadtree graphic display in Java
I am writing a class in Java (Eclipse) that implements the quadtree framework. For those of you unfamiliar with this structure, it is just a square that is recursively divided into four other squares, as shown in the image below.
I want to display a data structure as shown below. Does anyone have a good idea for a simple implementation?
Thanx
+3
source to share
2 answers
ACM Java Task Force has a nice and simple graphics package for this kind of thing.
You can find a good tutorial here .
+1
source to share