• SWT and NOA4e
Replies:
3
Views:
243
Up one level
• SWT and NOA4e
Posted by
antoniod
at
2009-08-11 19:54:34
Hi to all, i see and testing this snippet http://www.usegroup.de/software/noa/index.php/Hello_World_in_SWT/JFace
this snippet work fine but i see that you import javax.swing.JPanel; (this is SWING) because you use final JPanel panel = new JPanel(new BorderLayout()); and later IFrame officeFrame =officeApplication.getDesktopService().constructNewOfficeFrame(panel); It's possible don't use Swing and use only SWT? i try to use only swt but .constructNewOfficeFrame(panel); ask me a Conteiner component can you help me? best regads Antonio |
antoniod
Member
Posts:
2
|
• Re: SWT and NOA4e
Posted by
Markus Krueger
at
2009-08-12 10:55:12
Hi Antonio,
since OpenOffice's NativeView needs an AWT Container this is not possible for now, I think. But it is just a very small part of using AWT. You can build a SWT application around this. Regards, Markus |
• Re: SWT and NOA4e
Posted by
antoniod
at
2009-08-12 17:29:58
Hi Markus thanks for your answer but i have this problem
i am a student and i must create a multiplatform RCP, if i use mport javax.swing.JPanel; (this is SWING) final JPanel panel = new JPanel(new BorderLayout()); i have big problem whit linux and Mac S.O. i think possible to rewrite (or create a new metod) constructNewOfficeFrame that don't ask swing or AWT control Regads Antonio |
antoniod
Member
Posts:
2
|
• Re: SWT and NOA4e
Posted by
Markus Krueger
at
2009-08-12 19:12:00
Sorry, I see no solution for that.
|


