1. The purpose of this program is to display messages an an AS/400 message queue. The MessageQueue object of the AS/400 Toolbox for Java is used for this task. When the message queue object is constructed, the parameters are the AS400 object and the message queue name. The AS400 object indicates which AS/400 contains the resource, and the message queue name identifies which message queue on the AS/400. In this case, a constant is used, which tells the message queue object to access the queue of the signed-on user.