Chapter 12. Basic Components: Labels, Buttons, Canvases, and Panels

This chapter covers the most basic of the AWT components: labels, buttons, canvases, and panels. Labels and buttons are simple components that display a label. Canvases provide a surface upon which to paint graphics; panels are the most basic container provided by the AWT.

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition 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.