Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

performance problem with JEditorPane  RSS feed

 
vicky bawge
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using javax.swing,HTMLEditor toolkit to render and draw a html in a JEditorPane. The html consists of a table with 8000 rows in it. The problem is it takes more than 30 mins to draw it and occasionally runs out of memory. Is there any solution to this. Any help would be appreciated.
Thanks in advance,
Vivek
 
vicky bawge
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Common gems,
I expect atleast some comments or reply here. Atleast please write me if any of you had any such bizarre experiences with JEditorPane.
Thanks in advance,
 
NILESH PATEL
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vicky
I went through the same process but I found use of JEditorpane on its useless. However I found a package called calpahtml.jar which is free to use for commercial and personal use. That may or may not satisy you, depending on what content you want to render. Because it does not support "javascript" and "css". I am evaluating this and I have found this so far and got a fealing that it does not support many more feature. But try yourseldf anyway and let me know how you get on.
Thanks
NileshCalpahtml Package Downloads
 
vicky bawge
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nilesh and sorry for getting bacck to you late.
is there any special way to pass the url for calpa?
i am using file:///D:\temp\temp.html
its just displaying the above string in view
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!