Skip to main content

When does Form.show() finish...

No replies
ianmellor
Offline
Joined: 2009-01-21

I've observed in our app that sometimes calling form.show() returns before the form.isVisible()

so...
Form myform = new Form();
myform.show();
if (!myform.isVisible()) System.out.println("How can the form not be visible!");

...give us "How can the form not be visible!)" in the output!

We are doing this all from within a separate thread from the midlet, which is the only reason I can imagine a show doesn't result in isVisible....but even then, I can't see how this is actually possible.

Should this be happening?

Thanks

Ian