[dev] Showing a dialog from My java OTX component

2010-02-26 Thread Andrea Chiumenti
Hello, after the dispatch operation I open a message dialog the informs the
user that the operation has been successfully concluded.
Something like
JOptionPane.showMessageDialog(null, Transmission completed! , Info,
JOptionPane.INFORMATION_MESSAGE);

This obviously has a swing layout, how can I do in the OpenOffice way ?
Thanks in advance,
kiuma


Re: [dev] Showing a dialog from My java OTX component

2010-02-26 Thread Niklas Nebel

On 02/26/10 16:13, Andrea Chiumenti wrote:

Hello, after the dispatch operation I open a message dialog the informs the
user that the operation has been successfully concluded.
Something like
JOptionPane.showMessageDialog(null, Transmission completed! , Info,
JOptionPane.INFORMATION_MESSAGE);

This obviously has a swing layout, how can I do in the OpenOffice way ?


This is described in the Developer's Guide. Take a look at 
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/GUI/Message_Box.


Niklas

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Showing a dialog from My java OTX component

2010-02-26 Thread Andrea Chiumenti
exactly what I needed, Thank you!
kiuma

2010/2/26 Niklas Nebel niklas.ne...@sun.com

 On 02/26/10 16:13, Andrea Chiumenti wrote:

 Hello, after the dispatch operation I open a message dialog the informs
 the
 user that the operation has been successfully concluded.
 Something like
 JOptionPane.showMessageDialog(null, Transmission completed! , Info,
 JOptionPane.INFORMATION_MESSAGE);

 This obviously has a swing layout, how can I do in the OpenOffice way ?


 This is described in the Developer's Guide. Take a look at
 http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/GUI/Message_Box
 .

 Niklas

 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org