I have not actually got to the adding of the undoable listener bit... just trying to get the rest of the app. working with my extended buffered image class.
Yes I am writing an image processing app. that uses bufferedImage filters to scale, darken, ligthen etc.
This is the start of my bufferedImage extended class:
that works a treat, calling to the super constructor and that. but further on in my application I am using BufferedImageOp, this is where is it throwing a wobbly:
If I leave out the cast from the problem line like this:
I get a compile error:
Type mismatch: cannot convert from BufferedImage to MyImage
Which is logical... so the question is how can I use BufferedImageOp with my BufferedImage extended class?
[ July 22, 2004: Message edited by: Martin Thorpe ]
[ July 22, 2004: Message edited by: Martin Thorpe ]
[ July 22, 2004: Message edited by: Martin Thorpe ]