ABSTRACT

Modern user-facing programs use Graphical User Interfaces (GUIs). Proper use of a GUI requires a different programming style, in which control is taken away from the program and given to the user. This requires an understanding of events, event handlers, containers, threads, and layout managers, as well as widgets (visible GUI components). The most common widgets are described in detail, along with sample code to deal with the most common interactions.