Hi Omar,
You could use a FlatField with a 2x2 Gridded2DSet domain set to put a
colored box somewhere in the display, then place other data objects on
top of it. Is that the sort of thing you're looking for?
-Curtis
On Jan 13, 2008 1:13 PM, Omar Bennani <barhouf@xxxxxxxx> wrote:
> Hi
> My question is to change the color of a part of the
> background and not all of it
> Thanks
> --- Bill Hibbard <hiding@xxxxxxxxx> a écrit :
>
>
> > Hi Omar,
> >
> > Can we change the color of an area of the
> > background
> > of the display ? for example to fill a hole strip
> > in
> > grey and rest of the background in ti's original
> > color
> > thanks
> >
> >
> > You can try the setBackgroundColor() method of
> > DisplayRenderer. See the Test53.java and Test54.java
> > classes in the visad/examples/ directory for
> > examples
> > of how to call setBackgroundColor().
> >
> > Good luck,
> > Bill
> >
> > --
> > Got No Time? Shop Online for Great Gift Ideas!
> > http://mail.shopping.com/?linkin_id=8033174
>
> >
> >
>
>
>
>
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
> http://mail.yahoo.fr
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>