Nicola:
Simply extend the paint(Graphics g) method of JPanel, and paint in there the
ImagePlus by calling its getImage() method, and then g.drawImage(...)
Alternatively create an ij.gui.ImageCanvas with your ImagePlus as argument,
and embed this awt component into your JPanel.
This topic has been discussed in the list before, please search the archives.
Albert
--
Albert Cardona
Molecular Cell Developmental Biology
University of California Los Angeles
Tel +1 310 2067376
Programming:
http://www.ini.unizh.ch/~acardona/trakem2.htmlResearch:
http://www.mcdb.ucla.edu/Research/Hartenstein/Web design:
http://www.pixelets.com