Skip to Content
Java: The Complete Reference, Twelfth Edition, 12th Edition
book

Java: The Complete Reference, Twelfth Edition, 12th Edition

by Herbert Schildt
November 2021
Intermediate to advanced
1280 pages
34h 57m
English
McGraw-Hill
Content preview from Java: The Complete Reference, Twelfth Edition, 12th Edition

CHAPTER 27

Using AWT Controls, Layout Managers, and Menus

This chapter continues our overview of the Abstract Window Toolkit (AWT). It begins with a look at several of the AWT’s controls and layout managers. It then discusses menus and the menu bar. The chapter also includes a discussion of the dialog box.

Controls are components that allow a user to interact with your application in various ways—for example, a commonly used control is the push button. A layout manager automatically positions components within a container. Thus, the appearance of a window is determined by a combination of the controls that it contains and the layout manager used to position them.

In addition to the controls, a frame window can also include a standard-style ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java: The Complete Reference, Thirteenth Edition, 13th Edition

Java: The Complete Reference, Thirteenth Edition, 13th Edition

Herbert Schildt, Dr. Danny Coward
Head First Java, 3rd Edition

Head First Java, 3rd Edition

Kathy Sierra, Bert Bates, Trisha Gee
Learning Java, 6th Edition

Learning Java, 6th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Java in a Nutshell, 7th Edition

Java in a Nutshell, 7th Edition

Benjamin J. Evans, David Flanagan

Publisher Resources

ISBN: 9781260463422