This is the class that manages the painting and event handling with
LWUITImplementation as a partner.
Display is used to show forms and also to start the EDT. Like
LWUITImplementation, there is just one instance of
Display for an LWUIT application. However, unlike
LWUITImplementation, it can be accessed, and used by us.
Before any form is shown, we must register the current MIDlet by calling the static method
Display.init(MIDlet midlet). The
init method instantiates
LWUITImplementation, as well as a new Thread—the EDT and starts it off. It also invokes the
init(MIDlet midlet) method of
LWUITImplementation to get the underlying instance of the
javax.microedition.lcdui.Display class. Obviously, nothing much can be done with the ...