Hi
I believe there are two solutions for your question:

   1. You could do this with an Applet, and place it in a Page.
   2. One other solution could be to set the content type of the JTextPane
   to "text/html", get the content with getText() and display it using a
   WebMarkupContainer or similar Component.

I think you should reconsider the libary you are using to compare the
documents, or see what the library is doing so that you can avoid the use
of the JTextPane.

Cheers
--
Marc Nuri
www.marcnuri.com


On Thu, Nov 22, 2012 at 10:53 AM, Andrea Del Bene <[email protected]>wrote:

> No, there's no way to get what you are asking for.
>
>> Hi ,
>>
>> In my application, am using one open source tool to compare xml documents,
>> this tool returns JtextPanes as a result , right now am putting these text
>> panes in a Jframe and displaying Jframe. Now i want to show this Jframe
>> inside wicket response page. is there any way I can put swing compoent
>> inside any wicket container and set reponse page as this.
>>
>>
>> I would appreciate quick response.
>>
>>
>>
>> --
>> View this message in context: http://apache-wicket.1842946.**
>> n4.nabble.com/adding-swing-**Jframe-inside-Wicket-webpage-**
>> tp4654079.html<http://apache-wicket.1842946.n4.nabble.com/adding-swing-Jframe-inside-Wicket-webpage-tp4654079.html>
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@wicket.**apache.org<[email protected]>
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>

Reply via email to