Java Applets: Components and Containers

  • A GUI component is an object that represents a screen element that is used to display information or to allow the user to interact with the program in a certain way.
  • A container is a special type of component that is used to hold and organize other components.
  • Frames and panels are two examples of Java containers.