can i change my post in anyway, so that i could get some help.(What i exactly want is to draw or redraw the tree when i have calculated the nodes and predecessors. Or if u guys know where i could get some sample code where i could learn more)
hi i was wondering if someone could help me with a problem. never used awt or swing(just read up abt them) iam trying to build a visual of a tree from given set of nodes.
Have to make a java application After manipulating data, i get the data for drawing the tree. the problem is that once i get the data after calculations how do i draw a tree from this. (i have seen sample programs wherein the paint method is pre written). i tried to use repaint() but dint seem to work. any help will be appreciated.