Originally posted by shalini gnana:
I want to place both the tree and my drawing with in the same panel..I used borderlayout..But its getting overlap..How can i do it..Help me..
I drawn inside the paintComponent method..How can i add this to the east of my borderlayout?
I want to add both tree and drawing to the same panel,because when i expand my tree the drawing against to the child should show...
Its throwing NullPointException at: rightPanel.add(tree,BorderLayout.WEST);
how to draw at each node