You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Luiz Gustavo <lu...@gmail.com> on 2010/12/19 22:51:44 UTC

Input and Confirmation Dialogs

Which component could be used as input and confirmation dialogs, like
JOptionPane.showInputDialog(...) and
JOptionPane.showConfirmationDialog(...)?

Cheers,
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com
http://luizgustavoss.blogspot.com
http://twitter.com/lugustso

Re: Input and Confirmation Dialogs

Posted by Luiz Gustavo <lu...@gmail.com>.
Thank's Greg, I'l try that.

2010/12/19 Greg Brown <gk...@verizon.net>

> You can use Alert for this. There aren't any static convenience methods
> like showInputDialog(), but it is pretty easy to set the options and body
> properties to whatever you need in your app.
>
> G
>
>
> On Dec 19, 2010, at 4:51 PM, Luiz Gustavo wrote:
>
> Which component could be used as input and confirmation dialogs, like
> JOptionPane.showInputDialog(...) and
> JOptionPane.showConfirmationDialog(...)?
>
> Cheers,
> Luiz Gustavo S. de Souza
>
> http://luizgustavoss.wordpress.com
> http://luizgustavoss.blogspot.com
> http://twitter.com/lugustso
>
>
>


-- 
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com
http://luizgustavoss.blogspot.com
http://twitter.com/lugustso

Re: Input and Confirmation Dialogs

Posted by Greg Brown <gk...@verizon.net>.
You can use Alert for this. There aren't any static convenience methods like showInputDialog(), but it is pretty easy to set the options and body properties to whatever you need in your app.

G

On Dec 19, 2010, at 4:51 PM, Luiz Gustavo wrote:

> Which component could be used as input and confirmation dialogs, like JOptionPane.showInputDialog(...) and JOptionPane.showConfirmationDialog(...)?
> 
> Cheers,
> Luiz Gustavo S. de Souza
> 
> http://luizgustavoss.wordpress.com
> http://luizgustavoss.blogspot.com
> http://twitter.com/lugustso