http://imagej.273.s1.nabble.com/Swing-Java-components-in-ImageJ-plugin-frames-tp3692563p3692571.html
> On 12 May 2009, at 09:16, Johannes Schindelin wrote:
>
> >On Tue, 12 May 2009, Simon Andrews wrote:
> >
> > >Someone else posted a pointer to a list of workrounds for common
> > >problems, but one other option which I've used is to create a swing
> > >based version of ImageCanvas. There are very few changes required to
> > >turn ImageCanvas into JImagePanel and then everything plays really
> > >nicely with the rest of Swing. Probably overkill in your case, but in
> > >the right situation it can be the best solution.
> >
> >Care to post your solution for the benefit of others (including me)?
>
> The code is released as part of our FocalPoint viewer:
>
>
http://www.bioinformatics.bbsrc.ac.uk/projects/focalpoint/>
> All of the image panels in the application are swing based ImageCanvas
> objects. I've actually stripped out a lot of code in our released
> version to keep only what we use, just to make it easier to maintain,
> but when I did the original conversion I did a full swing adaption which
> was surprisingly quick.
Whoa, that's 16 megabytes compressed.