Depends on what are you planning to place in this component.
If text only, then java.awt.Label will make the trick.
In more general case, extend java.awt.Canvas
Here you place everything you want, from pictures up to your own
interface elements.
Extra benefit is that Canvas has its own graphic context (Graphics), so
you can update it independently from the application's context.
NB: The AWT containers have no "transparency" property (at least nothing
that would work anyhow reliable). Just use the same background color for
the top and bottom layers.
Thanks for your help but this is not sufficient.
There is going to be nothing put onto the component, it is simply created to
respond to the mouse entering and leaving it (there might be a better way
to do this). A transparent component is required as there is a complicated
image below it.
Thanks
Connell
> My problem is fairly simple (I think):
>
[quoted text clipped - 6 lines]
>
> Connell
Ian Shef - 24 Nov 2003 18:51 GMT
> Thanks for your help but this is not sufficient.
> There is going to be nothing put onto the component, it is simply
[quoted text clipped - 15 lines]
>>
>> Connell
Possible solutions include:
java.awt.Component (an invisible AWT component that provides mouseEnter &
mouseExit; the simplest solution)
java.awt.Canvas (which you rejected for reasons I don't understand;
override paint and update if you don't want them to do anything)
java.awt.Panel
java.awt.Container
If none of these work for you, perhaps we need more information.
Good luck!

Signature
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *