Problem ImageCanvas

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem ImageCanvas

Jonathan Andrade Silva
hi,
I'm working on a mice tracking project called Topolino, we are using some
imagej functions to process the images, i'm developing an interface, using
javax.swing and i'm having a problem when adding an imagecanvas to a JPanel,
because i'm using JIternalFrame to add this JPanel, so the imagecanvas
always overcomes all other JInternalFrames. Another problem is that i don't
now how to use ROI functions (resize, move, handle) in my package, i already
tried extending this class to ROI but no success. Cold someone please help
me?
Thanks in advance


Jonathan de Andrade Silva
Reply | Threaded
Open this post in threaded view
|

Re: Problem ImageCanvas

ctrueden
Hi Jonathan,

Sun published an article discussing the mixing of Swing and AWT components:
    http://java.sun.com/products/jfc/tsc/articles/mixing/

JInternalFrames are not designed to support heavyweight (AWT) components, so
you might be out of luck. There is an RFA in the Java bug database for a
heavyweight JInternalFrame (
http://bugs.sun.com/bugdatabase/view_bug.do;:WuuT?bug_id=4154448), but it
surely is not a high priority for them.

-Curtis

On 5/15/06, Jonathan Andrade Silva <[hidden email]> wrote:

>
> hi,
> I'm working on a mice tracking project called Topolino, we are using some
> imagej functions to process the images, i'm developing an interface, using
> javax.swing and i'm having a problem when adding an imagecanvas to a
> JPanel,
> because i'm using JIternalFrame to add this JPanel, so the imagecanvas
> always overcomes all other JInternalFrames. Another problem is that i
> don't
> now how to use ROI functions (resize, move, handle) in my package, i
> already
> tried extending this class to ROI but no success. Cold someone please help
> me?
> Thanks in advance
>
>
> Jonathan de Andrade Silva
>