10.1. The Messenger

The messenger's user interface is shown in Figure 10.1. Three main components make up the interface: a login window, a main console, and one or more message windows. The login window (at the top right of Figure 10.1) appears when the application is first started and asks the user for a username and password. If the username and password are registered with the service, the user is logged in. If the password is incorrect, the user is prompted again. In the case where the user does not yet have an account, and a unique username was entered, then a new account is created automatically and the user is logged in.

Figure 10.1. The Messenger console, login window, and message window.

Once the user has successfully logged in, the ...

Get JavaSpaces™ Principles, Patterns, and Practice 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.