Problem at Pasting HTML Content in jTextPane
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   allu_allu
Posted On:   Tuesday, March 29, 2005 04:24 AM

Hi Friends, I am having some trouble pasting HTML from an external source (e.g., a browser) into a JTextPane. Even pasting simple snippets, I get something like the following: [StartFragment ] Content I copied and pasted [EndFragment ] Where "StartFragment" and "EndFragment" are surrounded by a box. If I paste more complex HTML, more strangeness appears ("tbody" tags, most often). How to paste the html content from external browser into the jTextPane? Does anyone knows why ? Plzz it's urgent..I need an EXAMPLE....help me.. Thanks & Regards Srinivas Allu    More>>

Hi Friends,

I am having some trouble pasting HTML from an external source (e.g., a browser) into a JTextPane. Even pasting simple snippets, I get something like the following:


[StartFragment ] Content I copied and pasted [EndFragment ]

Where "StartFragment" and "EndFragment" are surrounded by a box. If I paste more complex HTML, more strangeness appears ("tbody" tags, most often).

How to paste the html content from external browser into the jTextPane?
Does anyone knows why ?
Plzz it's urgent..I need an EXAMPLE....help me..
Thanks & Regards
Srinivas Allu

   <<Less
About | Sitemap | Contact