Hi
i had done the same thing using macro i.e) created my own window using
javax.swing and called the class using the code
import com.sun.star.script.provider.XScriptContext;
public class Organiser {
public void callOrganiser(XScriptContext xSc) throws
com.sun.star.uno.Exception {
OrganiserDialog app = new OrganiserDialog();
app.setVisible(true);
app.setBounds(100,100,800,600);
}
}
in this OrganiserDialog is the class(Window) created
On 10/6/06, Nicolai Stange <[EMAIL PROTECTED]> wrote:
Hello,
I want to write an AddOn-Job in java and this Job should show its own
GUI-Window as a child of an xFrame.getContainer.
How can I do that:
First Option:
Use Java-Awt and somehow make it be a child of the
xFrame.getContainer().
In Developer's Guide - 6.1.7 Java Window Integration is described
only how to
do it the other way around: How to make an XWindow be the child of
an Java
Window .
Second Option:
Use the sun.star.com.awt.* - classes.
Problem: I've not found any documentation other than
API-reference.
How to create controls within a window, are there Layout-Managers?
Thank you for your help!
Nicolai Stange