xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Wilson <todd_wil...@byu.edu>
Subject Re: Using transparency over an underlying component
Date Tue, 12 Mar 2002 22:36:54 GMT
Doh!  You're absolutely right, Thomas.  I sincerely apologize.  Your 
suggestion worked like a charm.  Many thanks.

Todd



Thomas E Deweese wrote:

>>>>>>"TW" == Todd Wilson <todd_wilson@byu.edu> writes:
>>>>>>
> 
> TW> Unfortunately that just changed the background from white to
> TW> black, instead of allowing the blue background of the underlying
> TW> JFrame to show through.  Here's my revised code, just let me know
> TW> if I'm misunderstanding anything:
> 
> 
> TW> svgCanvas.setBackground( new Color( 0, 0, 0 ) );
>                                        ^^^^^^^^^
>      Three zeros is opaque black, four zeros (what I had in my message)
> is transparent black.
>     
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message