posted 13 years ago
I had a Main Frame(NewFrame withBorder layout),on Line Start contains a LeftPanel (testlp) (flow layout)contains a method dynamicadd(),this method add add a JPanel of size 150 X 180 to LeftPanel (testLp), on LineEnd contains a RightPanel(rp) ,rp contains a button when it is clicked it should call the dynamicadd() method of testlp ,
The Problem is added jpanel of size 150 X 180 is not visible on Leftpanel.
Here is my code for MainFrame
here is code for LeftPanel (testlp)
and here is the code for RightPanel (rp)
Please help me in this
Thank you all.