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.
Hi Curtis, I'm actually using JCreator only to edit, but I'm compiling on the command line and typing in java -mx512m visad.ss.SpreadSheet to run it on the command line. I also tried adding the line DisplayCells[0][0].setDim3D(); right before DisplayCells[0][0].addDataSource("D:\\visad\\data\\small.v5d", BasicSSCell.URL_SOURCE); but I'm still getting the plain flat white square in the cell. Michelle Kam (408) 742-2881 Lockheed Martin Space Systems Co. SSM/ATC/MSIS B/153 O/L922 1111 Lockheed Martin Way, Sunnyvale, CA 94089 -----Original Message----- From: Curtis Rueden [mailto:curtis@xxxxxxxxxxxxx] Sent: Monday, June 09, 2003 11:45 AM To: Kam, Michelle C Subject: RE: your mail Hi Michelle, If you are using some sort of development environment, then I cannot help you, unfortunately. The only advice I can offer is to quit and restart the environment... If you are using a text editor and command line (which is what I do), then you may still have a problem with your CLASSPATH. I cannot think of any other reason you'd be having trouble with versions like you are. Since the SpreadSheet prepends "file:/" to the source string, it looks like it's finding your file now. If you're getting a white, 2-D box, perhaps cell A1 is set to 2-D mode instead of 3-D? You can call setDimension() on the cell to switch it to 3-D before loading the file. -Curtis At 01:20 PM 6/9/2003, you wrote: >Hi Curtis, Tom, and group, > >I tried replacing the "\" with "\\". Now, however, a plain white 2-D square >is imported instead of the cube with the fancy representation. Also, I >originally had the file specified as >D:\\visad\\unzipped\\visad\\ss\\small.v5d and when that didn't work, I >changed it to D:\\visad\\data\\small.v5d. But when I opened up a new >instance of the spread sheet and clicked on "GO", the file that was listed >in the "ADD/DELETE" menu was A1d1: >file:/D:/visad/unzipped/visad/ss/small.v5d instead of data/small/v5d. So I'm >thinking it is indeed running an old version of my code. I added a >system.out.println statement in my method and nothing was printed in my >shell. Do you know what I can change to get it to see the newest version of >my code? > >Thanks, >Michelle > >Michelle Kam (408) 742-2881 >Lockheed Martin Space Systems Co. SSM/ATC/MSIS >B/153 O/L922 >1111 Lockheed Martin Way, Sunnyvale, CA 94089
visad
archives: