NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Would you expect this to work? Cheers, -Tennessee Code Snippet : if(scalarMap != null) { ColorControl cc = (ColorControl) scalarMap.getControl(); if(mode == ColorConfigurable.GREYSCALE) { System.out.println("Greyscale"); cc.initGreyWedge(); } if(mode == ColorConfigurable.RGB) { System.out.println("RGB"); cc.initHSV(); } }
visad
archives: