Definition of container and component in swing

1

What are the precise Container and Component definitions in Swing? Why are these elements important for building the GUI?

    
asked by anonymous 20.03.2016 / 02:49

1 answer

2

Container is a Component that provides space for you to include other components, including other containers.

It is common to be container as canvas and component as objects to be used in it, like buttons, labels and etc.

link .

The fact that they are important is basically because they are the essence of everything you can do in a swing application.

    
21.03.2016 / 17:02