Container and swing design

Asked

Viewed 552 times

1

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

1 answer

2


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

It is common to treat container as screen and Component as objects to be used in it, type buttons, Abels and etc.

http://www.tutorialspoint.com/swing/swing_containers.htm.

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.