Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: background color

Hi Omar,

Can we change the background color of the display from
black to another color ?

Try this:

     DisplayRenderer renderer = display.getDisplayRenderer();
     renderer.setBackgroundColor(1.0f, 1.0f, 1.0f); // white
     renderer.setBoxColor(0.0f, 0.0f, 0.0f); // black

-Curtis


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: