Easiest way to achieve a radial gradient?

Hi guys.

I'd like to have a kind of dreamlike effect on some images I'm rendering, whereby a central oval on the rectangular display shows the image with complete clarity, but once you've passed the oval boundaries and continue to move outwards, the image pixels fade to white at some arbitrary rate.

Is there any straightforward way to achieve this effect? I've looked at java.awt.GradientPaint, but it's only useful for linear gradients =(

Thanks for your time.

[493 byte] By [KomodoDavea] at [2007-11-26 22:19:05]
# 1
In Java 6, http://java.sun.com/javase/6/docs/api/java/awt/RadialGradientPaint.html
ChuckBinga at 2007-7-10 11:14:27 > top of Java-index,Desktop,Core GUI APIs...
# 2
Here is an ellipse gradient in java 1.4/1.5: http://forum.java.sun.com/thread.jspa?threadID=778802
jvaudrya at 2007-7-10 11:14:27 > top of Java-index,Desktop,Core GUI APIs...
# 3
Thanks a lot, both of you; those links look like just the info I need =) Cheers.
KomodoDavea at 2007-7-10 11:14:27 > top of Java-index,Desktop,Core GUI APIs...