Left and Right Panels

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page

Answer:

The small panels (containing lables and text fields) have been added to left and right panels that use BoxLayout with vertical alignment.

Left and Right Panels

Here is a diagram showing the left and right panels (which use BoxLayout with vertical alignment).

[nested panels]

The small panels are not shown.

QUESTION 13:

Is it absolutely necessary to use nested panels in this example?