Page 1 of 1

Using document as a java swing component

Posted: Tue Feb 26, 2008 7:44 pm
by engg_agrawal
Hi,
can i use a document excel file or a doc file as a swing component.
i have few templates in in excel and .doc format.
i use them to produce bills by just entering data.
Now i want to develop a swing application and use the same templates in jpanel or jtextpane or jeditorpane.
its very hectic to make templates in swing using tables and all.
is there any api which can help me out???
thanks

Re: help-using document as a java swing component

Posted: Tue Feb 26, 2008 8:28 pm
by hol.sten
Sounds like you should give the OfficeBean chapter of the OOo Developer's Guide "JavaBean for office components" a try: http://api.openoffice.org/docs/Develope ... Bean.xhtml