JPanels is a way to create a logical “separation” of space, if that makes sense. For example, if you are thinking about HTML, you can simply place elements one after another on the page (as some old HTML pages actually look), but it is much more aesthetically pleasing to use a container, such as a table, or CSS-style DIV tags to create sections on the page and place elements in relation to each other in a much more specific way.
JPanels Swing, JPanel , , . JPanels, , JPanel / .., JPanel , JPanels " " , , .
JPanels , Divs HTML, . JPanels - , . , , JPanel , Swing .