Re: [api-dev] Using an Xframe as a parent for a Java dialog

2008-11-21 Thread Jan Füssel
Hi Peter, the shown solution of mine is the result of longtime with Spring, AWT && SWT. I don't think its possible out of the box. An early solution is based on JNI, but it was to complex to realize my problems. i'm going to fish for some source files when i arrive at home after work. Jan -

Re: [api-dev] Using an Xframe as a parent for a Java dialog

2008-11-21 Thread Peter Eberlein
Hi, From: Jan Füssel [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 11:57 AM To: dev@api.openoffice.org Subject: Re: [api-dev] Using an Xframe as a parent for a Java dialog Hi, i've currently a solution to open a modless java-dialog, which need SWT and only works on a wi

RE: [api-dev] Using an Xframe as a parent for a Java dialog

2008-11-18 Thread Hedges, George
: Friday, October 31, 2008 11:57 AM To: dev@api.openoffice.org Subject: Re: [api-dev] Using an Xframe as a parent for a Java dialog Hi, i've currently a solution to open a modless java-dialog, which need SWT and only works on a windows machine. To get Windows Handle I used the following Basic

Re: [api-dev] Using an Xframe as a parent for a Java dialog

2008-11-01 Thread Robert Vojta
On Thu, Oct 30, 2008 at 9:36 PM, Hedges, George <[EMAIL PROTECTED]> wrote: Hi George, > I'd like to have a modeless javax.swing.JDialog sitting on top of the > document's XFrame. Is there a technique for using an XFrame as a parent > for a JDialog? as Juergen and Jan said, it's not possible. Bu

Re: [api-dev] Using an Xframe as a parent for a Java dialog

2008-10-31 Thread Jan Füssel
Hi, i've currently a solution to open a modless java-dialog, which need SWT and only works on a windows machine. To get Windows Handle I used the following Basic-Code: Dim oWindow : oWindow = ThisComponent.CurrentController.Frame.ContainerWindow Dim HWND : HWND = oWindow.getWindowHandle(Array(),

Re: [api-dev] Using an Xframe as a parent for a Java dialog

2008-10-30 Thread Juergen Schmidt
Hi George, sorry but that is not possible at the moment. But it would be a cool feature that i would like to have since a long time ;-) Juergen Hedges, George wrote: I'd like to have a modeless javax.swing.JDialog sitting on top of the document's XFrame. Is there a technique for using an

[api-dev] Using an Xframe as a parent for a Java dialog

2008-10-30 Thread Hedges, George
I'd like to have a modeless javax.swing.JDialog sitting on top of the document's XFrame. Is there a technique for using an XFrame as a parent for a JDialog?