O'Reilly logo

Beginning Java with WebSphere by Robert W. Janson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 3

image

Graphical User Interfaces

This chapter will explain the basic components of a graphical user interface (GUI) and how to use them in Java applications. We will begin to explore the different types of relationships between classes and document both the classes and their relationships using the Unified Modeling Language (UML).

After finishing this chapter, you should understand:

  • AWT, Swing, and SWT
  • Getters and setters
  • Properties
  • Composition
  • Specialization
  • Inheritance
  • UML

After finishing this chapter, you should be able to:

  • Create a simple frame
  • Display information using labels
  • Generate a UML diagram
  • End an application

Introduction ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required