I am developing example desktop application using Netbeans IDE.In that ,i took one JFrame and I added one mainpanel to that JFrame. then i added three panels into the mainpanel.But I got a problem ,i.e when i was adding the three panels to mainpanel ,these three panels are not merging .I shows some gap between the panels. I was unable to solve this. please anybody help me.

