Difference between revisions of "Documentation/DevGuide/JavaBean/Using the OOoBean"
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
Tsykholyas (Talk | contribs) ((checkpoint save)) |
||
Line 11: | Line 11: | ||
{{Documentation/Caution|Since the Office Bean uses a native peer to render {{PRODUCTNAME}} documents, Swing components, such as drop-down menus or list boxes appear behind it, or they are not displayed at all. One way to avoid this is by exclusively employing AWT components when using the Office Bean. Another, but only partial, solution is to tell Java Swing to create heavy weight windows for popup menus: <tt>JPopupMenu.setDefaultLightWeightPopupEnabled</tt>.}} | {{Documentation/Caution|Since the Office Bean uses a native peer to render {{PRODUCTNAME}} documents, Swing components, such as drop-down menus or list boxes appear behind it, or they are not displayed at all. One way to avoid this is by exclusively employing AWT components when using the Office Bean. Another, but only partial, solution is to tell Java Swing to create heavy weight windows for popup menus: <tt>JPopupMenu.setDefaultLightWeightPopupEnabled</tt>.}} | ||
+ | |||
+ | {{Documentation/Caution|Currently the Office Bean is not available for Mac (see issue 54172 for more details).}} | ||
{{PDL1}} | {{PDL1}} | ||
[[Category:Documentation/Developer's Guide/JavaBean for Office Components]] | [[Category:Documentation/Developer's Guide/JavaBean for Office Components]] |
Revision as of 12:31, 1 June 2009
The Java class OOoBean
can be instantiated directly, or application classes can be derived from this class. If a real Java Bean is to be created, which for example can be used in Java Bean UI builders, it has to be subclassed. The application class then might use the UNO bootstrapping mechanism to find the OOoBean
, OpenOffice.org and its API classes. This mechanism is not built into OOoBean
itself because it can not be used to find itself. And once the OOoBean
class has been found, you intrinsically also find the OpenOffice.org installation and the API classes.
A standard OpenOffice.org is a prerequisite. The OpenOffice.org executable, as well as the UNO libraries and runtime, is found using the Java Class Loader. Moving or copying the needed class files will not result in a working OOoBean
.
Content on this page is licensed under the Public Documentation License (PDL). |