Each program that uses Swing components has at least one top-level container. This top-level container is the root of a containment hierarchy the hierarchy that contains all of the Swing components that appear inside the top-level container.
Each program that uses Swing components has at least one top-level container. This top-level container is the root of a containment hierarchy the hierarchy that contains all of the Swing components that appear inside the top-level container.