Introduction

NOTE

Layouts and Event Handlers This chapter uses layouts and event handlers to build simple GUI applications and applets. However, these topics are covered in more detail in subsequent chapters.

This chapter covers the GUI components and containers of java.awt. You will work with labels, buttons, text fields, check boxes, choices, lists, and scrollbars. You will also learn how to use components and containers. Familiarity with these AWT classes and interfaces is essential to developing a Java-based GUI, and you can expect to see several exam questions that require knowledge of them. By studying the component and container descriptions in this chapter and working the programming examples, you should be able to do well on related ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.