O'Reilly logo

Java™ for Programmers: Deitel Developer Series, Second Edition by Harvey Deitel - Deitel & Associates, Inc., Paul Deitel - Deitel & Associates, Inc.

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 14. GUI Components: Part 1

Do you think I can listen all day to such stuff?

Lewis Carroll

Even a minor event in the life of a child is an event of that child’s world and thus a world event.

Gaston Bachelard

You pays your money and you takes your choice.

Punch

Objectives

In this chapter you’ll learn:

• How to use Java’s elegant, cross-platform Nimbus look-and-feel.

• To build GUIs and handle events generated by user interactions with GUIs.

• To understand the packages containing GUI components, event-handling classes and interfaces.

• To create and manipulate buttons, labels, lists, text fields and panels.

• To handle mouse events and keyboard events.

• To use layout managers to arrange GUI components.

14.1 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