MemoryImageSource + CreateImage in swing JPanel
Hi all, thanks for your help on my last inquiery.
I'm having a bit of bother, I'm writing a image processing app and I'm using MemoryImageSource & createImage to display the processed image and displaying it in a Jpanel using ImagePanel.
The problem is that I can not seem to get it to display the modImg = createImage(MemoryImageSource ........). It just returns the original image. The process is happening as I can see the debug info in my console.
The Question: Is there a different way of using createImage(MemoryImageSource ........) with component. ? I ahve checked online and there seems to be a couple of different ways i.e. createVolotileImage. Do I need to implement this one?
Thanks in advance