Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Alternative DataRenderer in FancySSCell

Hi Curtis,

To your first question, yes I call the setData() before adding the
DataReferenceImpls to the display.
To ensure that the error is not caused by my method, I changed my program to
use a DisplayImplJ3D instead of the SSCell. It figures out that with the
pure DisplayImplJ3D there are no problems. I can add all kinds of
DataReferenceImpls in every combination to the DisplayImpl with my method.

Thanks for your help, Mathias


> Hi Mathias,
>
> My first question is, did you do DataReferenceImpl.setData() before adding
> the DataReferenceImpls to the display?  If not, it would explain the "Data
> is null" errors you are getting.  If you did call setData() first,
however,
> then it's probably a bug in BasicSSCell, and I'll look into it.
>
> -Curtis


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690