Skip to main content

Dialog doesn´t react on the command setModal(true)

1 reply [Last post]
mkant
Offline
Joined: 2010-02-03
Points: 0

Hello,

my problem is that I have dialog with an error text.
But the user shouldn´t click beside the dialog.

So I want that the dialog is modal.

Why doesn´t works the comannd setModal()?

Thank you.

Best regards,

Mathias

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hello,
>
> my problem is that I have dialog with an error text.
> But the user shouldn´t click beside the dialog.
>
> So I want that the dialog is modal.
>
> Why doesn´t works the comannd setModal()?
>

Hi Mathias,

Are you talking about the java.awt.Dialog.setModal(true) method call for
Personal Profile on Windows Mobile? Did you try setting it to be modal
in the constructor first?

Ex.

new Dialog(parentFrame, true);

(This might be a porting issue that you have to check with Davy P. if
you are talking about Personal Profile for Windows Mobile)

Thanks,
Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net