I am able to draw ovals wherever I want to represent the nodes using mouseClicked method and then join them using mouseReleased method and a JButton which enables me to select two ovals between which I want to draw a line. After this I have to do non recursive preorder,postorder and inorder traversals by highlighting […]
The post Draw Binary tree using java swing using mouse events methods. appeared first on BlogoSfera.