Hi Tolga, Try DisplayRenderer.setBackgroundColor(...) (DisplayRendererJ2D, DisplayRendererJ3D) and DisplayRenderer.setForegroundColor(...) to change the background- or foregroundcolor of your display. There is also a setBoxColor(...) in DisplayRenderer to set the color of the box. You can get the DisplayRenderer via DisplayImpl.getDisplayRenderer(). If you want to change the color of your axis use the ScalarMap.setScaleColor(...). Cheers, Mathias > When you use DisplayImplJ2D, by default the background is black and the > foreground is white. How do you change the default colors? I checked out > the docs but could not see a method to change the colors. Can anybody > give a hint? > > Thanks, > > Tolga > > < < < t o l g a : | | : s a k m a n > > > > engineer, cfd consultant > analytic & computational research, inc -- acri > los angeles, ca > 310-471-3023 > tolga.sakman@xxxxxxxxxxx || www.acricfd.com > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- GMX Tipp: Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
|
When you use
DisplayImplJ2D,
by default the background is black and the foreground is white. How do
you
change the default colors? I checked out the docs but could not see a
method to
change the colors. Can anybody give a hint?
Thanks,
Tolga
< < < t o l g a : | | : s a k m a n > > > engineer, cfd consultant analytic & computational research, inc -- acri los angeles, ca 310-471-3023 tolga.sakman@xxxxxxxxxxx || www.acricfd.com |
visad list information:
visad listvisad archives: