Chapter 8. GUI Programming I: Applications
There are two kinds of GUI code in Java: applications and applets. This chapter focuses on applications, whereas Chapter 9, "GUI Programming II: Applets," focuses on applets. Although Java GUI programs have many common elements, there is no specific class that a GUI per se has to be built upon. That is, applets must extend java.appletApplet. A standalone Java GUI program's classes do not have to extend any specific AWT class. This chapter covers
Basic GUI coding in applications using the AWT
Swing/JFC
The Delegation event-handling model
Get PURE Java™ 2 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.