Transparent oval

Hi,Does anyone know of a method that I can use to draw a semi-transparent oval?Ive looked through the methods in the Graphics2D class and found nothing. I also searched the forums and didnt find what I was looking for. Thanks ahead of time.
[254 byte] By [Bobert.a] at [2007-10-3 5:20:37]
# 1
> Hi,> > Does anyone know of a method that I can use to draw a> semi-transparent oval? It's a matter of choosing the correct color. Alpha value... the fourth c'tor argument.
CeciNEstPasUnProgrammeura at 2007-7-14 23:27:32 > top of Java-index,Java Essentials,Java Programming...
# 2
Use a Color obect with transparency (ie. set the alpha value).
camickra at 2007-7-14 23:27:32 > top of Java-index,Java Essentials,Java Programming...
# 3
I found the AlphaComposite class. Thanks for that.
Bobert.a at 2007-7-14 23:27:32 > top of Java-index,Java Essentials,Java Programming...
# 4
[url http://java.sun.com/docs/books/tutorial/uiswing/events/handling.html]How to Write a Component Listener[/url]Oops....wrong thread.Message was edited by: camickr
camickra at 2007-7-14 23:27:32 > top of Java-index,Java Essentials,Java Programming...
# 5
> Use a Color obect with transparency (ie. set the> alpha value).That was exactly what I was looking for. Thanks alot.
Bobert.a at 2007-7-14 23:27:32 > top of Java-index,Java Essentials,Java Programming...