Making a Dialog block the EDT

23 views
Skip to first unread message

cubiq1

unread,
Aug 22, 2014, 6:13:57 AM8/22/14
to codenameone...@googlegroups.com
Hi,

I've created a Dialog using the CN1 designer, however, when displayed it doesn't block the EDT.

How can I make the Dialog block the EDT until it is disposed of?

Thanks

Shai Almog

unread,
Aug 22, 2014, 12:12:18 PM8/22/14
to codenameone...@googlegroups.com
Hi,
you will need to show it using the standard show method and not thru showForm. You can create an instance of the dialog using createContainer.

cubiq1

unread,
Aug 31, 2014, 1:58:09 PM8/31/14
to codenameone...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages