Chapter 4. Graphical User Interfaces

Java has had libraries for building graphical user interfaces (GUIs) since the earliest days of the JDK. The original library was called the Alternative Window Toolkit, and it later became the Abstract Window Toolkit (AWT) in version 1.1 of the JDK. The goal of the AWT was to provide a set of tools for defining the essential structure of a GUI application that would be independent of the operating system. This circumstance would allow a developer to build applications that could function on a wide range of desktops, ranging from X-Windows under UNIX, to Apple Macintosh, to Microsoft Windows.

A GUI application typically comprises forms, controls that can be placed on those forms, and code that’s executed in response ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.