answersLogoWhite

0


Best Answer

A component is an object, like a button or a scroll bar. It has a visual representation. A container is a window-like component that can contain other components. Every component has a unique container that directly contains it.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

A class is a template for an object that will (usually) be instantiated. It is the basic building block of Java, and defines the scope of encapsulation. Components are a subset of classes which are specifically intended to be used in a GUI application. They are buttons, slider bars, windows, text boxes, and so on. All components are classes, but not all classes are components.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between component and container?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between container and panel?

In Java, a Container is an AWT superclass which simply describes any Component class that can contain other Component objects. A Panel is a specific type of Container.


What is the difference between Component and Peripheral?

A component is a part of something - usually a necessary part.A peripheral is an adjunct, an accessory, not something required.


What is the difference between component and part of computer?

gtg


Houses principle component for ied?

Container


What is the key difference between a liquid and a gas answer?

A is expanded in a container.


What is the difference between the behavior of a solid and a gas in a sealed container?

The gas expand to fill the volume of the container.


What is the difference between 20 feet and 40 feet container?

well one container is 20feet long and the other container is 40 feet long. the difference is 20feet. 40ft-20ft = 20ft


Which of these is a primary component of an IED?

Container


What is the difference between aquariums and tanks?

In the fishkeeping world there is no difference. A Fish Tank is an Aquarium. Of course a Tank is simply a container and can be anything from a war machine to a container for petrol on a car.


What is a Windows component container?

Panel, GroupBox,TabControl


Difference between computer component and computer device?

A computer component would be part of the computer itself. Devices can be separate to a computer and just connected to it.


What is the difference in each component of an atom?

The component