Chapter 7: Implementing an Animator Component Using the Java Event Model
7.1 Introduction
The Java Event Model is a ubiquitous way to handle communications between asynchronous activities. This model is used to implement the Java AWT but is also designed to be a generic method of passing events between asynchronous activities, such as threads. Because the Java Event Model was designed as a generic component, it has wide applicability for asynchronous activities that must be coordinated. Because it was designed to take advantage of the Java programming language, it integrates well with the Java language, and it is particularly useful when combined with other facilities in Java (such as RMI) to write programs distributed across a number of computers, ...
Get Creating Components 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.