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..
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
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);
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
tree.putClientProperty("JTree().lineStyle","Horizontal");
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
how to draw at each node
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |