itsContentPict.copyToArray (0,newPictBytes,512,newPictBytes.length - 512);
Pict displayPict = new Pict (newPictBytes);
DataRef ref = new DataRef (displayPict,StdQTConstants.kDataRefQTFileTypeTag,"PICT");
GraphicsImporter gi = new GraphicsImporter(StdQTConstants.kQTFileTypePicture);
gi.setDataReference (ref);
GraphicsImporterDrawer gid = new GraphicsImporterDrawer (gi);
// Dimension imageSize = new Dimension (getPictRect().getWidth(), getPictRect().getHeight());
Dimension imageSize = new Dimension (120, 80);
QTImageProducer ip = new QTImageProducer (gid, imageSize);
Image javaImage = Toolkit.getDefaultToolkit().createImage (ip);
//ImagePanel imagePanel = new ImagePanel(javaImage);