<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
OK - you'll have to change code in SwingDisplayPanel to remove the
cast I added to SwingDisplayWindow.<br>
<br>
Thx,<br>
Lee<br>
On 9/6/2011 11:30 AM, Grant B. Harris wrote:
<blockquote cite="mid:4E663C7E.2020306@mbl.edu" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Lee --<br>
<br>
You have caught an oversight on my part... DisplayWindow should
have a close() method.<br>
And SwingDisplayWindow should actually be in the Swing-SDI
package.<br>
<br>
So, I added a close() method to DisplayWindow and implemented it
in the SDI and MDI packages.<br>
<br>
Let me know if this doesn't take care of the problem.<br>
<pre class="moz-signature" cols="72">Grant B. Harris
---------------------------------------------------------
Scientific Informatics Analyst, Cellular Dynamics Program
Marine Biological Laboratory, Woods Hole, Mass. 02543
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gharris@mbl.edu">gharris@mbl.edu</a>
</pre>
<br>
On 9/6/2011 10:00 AM, Lee Kamentsky wrote:
<blockquote cite="mid:4e66277a.026ae00a.3c68.078d@mx.google.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi Curtis / ImageJ dev. I've gotten CellProfiler to run ImageJ 2
plugins with images. I assume that any Display parameter
contains an image with possible overlay and that input Display
parameters will be modified by the time they are output. The
picture below is the result of running one of the IJ2 shadow
commands in CellProfiler.<br>
<br>
I have to fix what looks like a bug in SwingDisplayPanel. In
"close", it assumes that its direct parent is the
SwingDisplayWindow and apparently that's no longer the case. I'd
just like to do this.window.dispose() there. The patch file for
the change is attached, I'll probably just commit it but you
guys should review briefly.<br>
<br>
--Lee<br>
<br>
(snip)<br>
</blockquote>
</blockquote>
<br>
</body>
</html>