There are many ways one can use a frame in Java like a form on which one can place panels and in them place useful components and controls to make a graphical user interface. Here we make the panels "outside" and instantiate them "inside". It is easier to show than describe ,,, so please watch the video. Border Layout manager is used here, but the principle applies to other layouts.
Code:
https://drive.google.com/open?id=0B0j...
On this page of the site you can watch the video online Mutiple panels in Java using Netbeans 1 with a duration of hours minute second in good quality, which was uploaded by the user Quotidian Education 19 March 2015, share the link with friends and acquaintances, this video has already been watched 6,133 times on youtube and it was liked by 12 viewers. Enjoy your viewing!