title: Time Consuming UI Update Task in Swing
body: <p>This is not another question about how to handle background tasks in Swing (I hope so).</p>
  
  <p>I'm using a third party non-open-source library for which I don't have the source code.
  This library provides an "XMLBuilder" which takes a data object and a template object, and then build some UI inside an object extending JComponent.</p>
  
  <p>Because this "build method" needs to update the JComponent it needs to run on the EDT.
  Problem is I am giving it a pretty big set of data to work with, which takes significant time (can be over 20s). During this time my whole application is frozen.</p>
  
  <p>What can I do about this ?</p>