java.awt.Toolkit question



Hi,

You can use Toolkit.getImage(file) to get pixel data from the specified file and use

Image im = toolkit.getImage(file);
MediaTracker mt.addImage(im, 0);
try
{
	mt.waitForID(0);
}
catch(..){}

to get it displayed. I've processed the file and want to display the result. Can I do that without saving the file and reading it back in? If yes, how? I've been trying for quite some time now, but all I get is an empty window. Displaying the original file is no problem.

Thanks,

Huub
.