Hi Carsten,
> We want to ease the use of the UNO awt toolkit. Therefore a new
> interface called com.sun.star.awt.XMessageBoxFactory has been
> introduced. The interface is available at the toolkit service
> "com.sun.star.awt.Toolkit".
Couldn't this be implemented as service? This would allow code like
XMessageBox box = com.sun.star.awt.MessageBox.create( parent, ... );
instead of
XMessageBoxFactory factory = (XMessageBoxFactory)
UnoRuntime.queryInterface( XMessageBoxFactory.class,
componentFactory.createInstanceWithContext(
"com.sun.star.awt.Toolkit", context ) );
XMessageBox box = factory.createMessageBox( parent, ... );
Wouldn't this be *even more* ease of use?
Ciao
Frank
--
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems http://www.sun.com/staroffice -
- OpenOffice.org Database http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]