I develop a java reporting tool which generates outputs in several formats(HTML,TXT,RTF...)
This component is accessible either a Client/Server Application written with Swing library , either a web-application.
When we use the swing application, a JEditorPane is used to retrieve the reports, associated with a correspondant EditorKit.
Even if the report is small (20 Ko), it takes time to display it in HTML..... and if you relaunch it many times, the application hangs up (memory leak ?)
With TXT, it is good and with the web-application too.
I suppose (and i'm sure with JBuilder !) that the problem is due to the read method called with HTMLEditorLit.read(inputstream,doc,pos)....
Thanks for your help.