The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Java Sketchbook: The HTML Renderer Shootout, Part 1
Subject:  Are any of these renderers interruptible?
Date:  2004-05-24 13:42:12
From:  johnmunsch


I wanted to use an HTML renderer in a program I wrote but when I used the HTMLRenderingKit, it wanted to completely finish rendering one page before I attempted to switch it to a new page. That made performance sluggish when the user quickly determined that they weren't interested in what they were seeing.

Attempting to change the page before it was finished rendering ended up with Swing getting very confused and often crashing (I guess I violated the single threaded nature of it).

I still really, really want this capability though if there are any HTML renderers which would do their thing in a way that I could tell them to terminate rendering early so I could switch them to a new page.

 Feed java.net RSS Feeds