Use Java Swing instead, along with the classes in package com.ibm.as400.access
public class WorkingEvent
The WorkingEvent class represents an event that signals that
a model is working on a request. This is useful for
graphical user interfaces that need to give the user some
feedback that work is being done.