hello

i created JFrame with netbeans and added Jpanel1 to it

then i created JPanel2 class and tried to add it to JPanel1.

the problem is that i cannot see the Jpanel1


i attachec my code.