Posted by
simon andrews (BI) on
May 12, 2009; 8:59am
URL: http://imagej.273.s1.nabble.com/Swing-Java-components-in-ImageJ-plugin-frames-tp3692563p3692572.html
On 12 May 2009, at 09:45, Johannes Schindelin wrote:
> Hi,
>
> On Tue, 12 May 2009, Simon Andrews wrote:
>
>> On 12 May 2009, at 09:16, Johannes Schindelin wrote:
>>>
>>> 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.
To be fair, nearly all of that comes from the copies of ImageJ and
Bioformats we bundle in with our code :-)
> BTW would you be willing to relicense just the JImageCanvas part to
> GPLv2
> so that we can ship it inside Fiji?
The JImagePanel class is released under the same public domain license
as ImageJ since it's basically their code anyway. If you want to use
any of the rest of the code then contact me off list, but you can use
the JImagePanel code as it is.
Simon.
--
Simon Andrews PhD
Babraham Bioinformatics
www.bioinformatics.bbsrc.ac.uk
[hidden email]
+44 (0) 1223 496463