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 Ricardo -- In the Javadoc for those methods and classes, there is a comment to use a different method or class, for various reasons. If someone would like to modify the examples to make use of the updated classes and methods and send it to me, I would be happy to replace the current code. There are no plans to ever remove any of the deprecated classes or methods, but we will continue to flag deprecated classes or methods as needed to indicate something else is available.... Best wishes, tom On Mon, Mar 26, 2012 at 10:59 PM, Ricardo Mantilla <ricardo-mantilla@xxxxxxxxx> wrote: > Are there any plans/need to solve deprecated methods on VisAD examples? > > > /examples/visad/Test37.java:37: warning: [deprecation] > visad.util.LabeledRGBAWidget in visad.util has been deprecated > import visad.util.LabeledRGBAWidget; > /examples/visad/DisplayEventTest.java:145: warning: [deprecation] show() in > java.awt.Window has been deprecated > frame.show(); > /examples/visad/MapProjectionDisplay.java:234: warning: [deprecation] show() > in java.awt.Window has been deprecated > frame.show(); > /examples/visad/ReflectionTest.java:118: warning: [deprecation] show() in > java.awt.Window has been deprecated > f.show(); > /examples/visad/ScaleTest.java:173: warning: [deprecation] show() in > java.awt.Window has been deprecated > frame.show(); > /examples/visad/Test37.java:74: warning: [deprecation] > RealType(java.lang.String,visad.Unit,visad.Set) in visad.RealType has been > deprecated > RealType vis_radiance = new RealType("vis_radiance", null, null); > /examples/visad/Test37.java:75: warning: [deprecation] > RealType(java.lang.String,visad.Unit,visad.Set) in visad.RealType has been > deprecated > RealType ir_radiance = new RealType("ir_radiance", null, null); > /examples/visad/Test37.java:172: warning: [deprecation] > visad.util.LabeledRGBAWidget in visad.util has been deprecated > LabeledRGBAWidget caw = new LabeledRGBAWidget(rgbaMap); > /examples/visad/Test37.java:172: warning: [deprecation] > visad.util.LabeledRGBAWidget in visad.util has been deprecated > LabeledRGBAWidget caw = new LabeledRGBAWidget(rgbaMap); > /examples/visad/Test37.java:172: warning: [deprecation] > LabeledRGBAWidget(visad.ScalarMap) in visad.util.LabeledRGBAWidget has been > deprecated > LabeledRGBAWidget caw = new LabeledRGBAWidget(rgbaMap); > /examples/visad/TestPlotDigits.java:62: warning: [deprecation] show() in > java.awt.Window has been deprecated > frame.show(); > > Cheers, > > R > > > On 3/22/12 1:13 PM, Tom Whittaker wrote: >> >> The VisAD library has been updated to revision 5952. You may pickup >> the updated JAR files from: >> <ftp://ftp.ssec.wisc.edu/pub/visad/5952> >> they are also available in the previous location. >> >> Here is a summary of changes since the last update on March 8, 2012: >> >> ------------------------------------------------------------------------ >> r5952 | tomw | 2012-03-22 12:38:50 -0500 (Thu, 22 Mar 2012) | 1 line >> Changed paths: >> M /trunk/deps/src/Jama/Matrix.java >> >> Added Jython arithmetic methods (like __add()__) plus a power() method. >> ------------------------------------------------------------------------ >> r5951 | rink | 2012-03-22 09:48:00 -0500 (Thu, 22 Mar 2012) | 4 lines >> Changed paths: >> M /trunk/core/src/visad/bom/ShadowImageByRefFunctionTypeJ3D.java >> >> problem fixed when numImages = 1 in a time sequence: inconsistent >> scene graph (can't do setRange). Coming soon... Ghansham's totally >> excellent grey-scale >> improvement, but we'll test this for awhile. >> >> ------------------------------------------------------------------------ >> r5950 | tomw | 2012-03-21 13:22:15 -0500 (Wed, 21 Mar 2012) | 1 line >> Changed paths: >> M /trunk/core/src/visad/python/JPythonMethods.java >> >> Clean up doc and code, add two new methods - findWithinRange and >> maskWithinRange >> ------------------------------------------------------------------------ >> r5949 | tomw | 2012-03-20 13:56:02 -0500 (Tue, 20 Mar 2012) | 1 line >> Changed paths: >> M /trunk/core/src/visad/python/JPythonMethods.java >> >> Fix mask() method to return null units; added signature to enable >> using NaN instead of zero when test fails >> ------------------------------------------------------------------------ >> r5948 | tomw | 2012-03-19 12:24:29 -0500 (Mon, 19 Mar 2012) | 1 line >> Changed paths: >> M /trunk/core/src/visad/python/JPythonMethods.java >> >> Fix issue with 'mask()' getting length of sampling set >> ------------------------------------------------------------------------ >> r5947 | tomw | 2012-03-13 12:56:04 -0500 (Tue, 13 Mar 2012) | 1 line >> Changed paths: >> M /trunk/core/build.xml >> >> Add svn revision number to DATE file >> >> > > -- > ********************************************************* > Ricardo Mantilla, PhD. > Assistant Research Engineer > The Univeristy of Iowa > IIHR - Hydroscience& Engineering > C. Maxwell Stanley Hydraulics Laboratory > Iowa City, IA. 52242-1585 > > Office Phone: (319) 335-5941 > Website: http://www.iihr.uiowa.edu/~ricardo/ > ********************************************************* > > _______________________________________________ > visad mailing list > visad@xxxxxxxxxxxxxxxx > For list information, to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ -- Tom Whittaker University of Wisconsin-Madison Space Science & Engineering Center (SSEC) Cooperative Institute for Meteorological Satellite Studies (CIMSS) 1225 W. Dayton Street Madison, WI 53706 USA ph: +1 608 262 2759
visad
archives: