svn - r34273 - trunk/demo/example/src/main/java/org/geotools/demo

1 message Options
Embed this post
Permalink
svn_geotools

svn - r34273 - trunk/demo/example/src/main/java/org/geotools/demo

Reply Threaded More More options
Print post
Permalink
Author: jive
Date: 2009-10-28 07:20:04 -0400 (Wed, 28 Oct 2009)
New Revision: 34273

Modified:
   trunk/demo/example/src/main/java/org/geotools/demo/ImageLab.java
Log:
fix up compile error; image lab now matches what was used in the course

Modified: trunk/demo/example/src/main/java/org/geotools/demo/ImageLab.java
===================================================================
--- trunk/demo/example/src/main/java/org/geotools/demo/ImageLab.java 2009-10-28 09:03:46 UTC (rev 34272)
+++ trunk/demo/example/src/main/java/org/geotools/demo/ImageLab.java 2009-10-28 11:20:04 UTC (rev 34273)
@@ -13,7 +13,6 @@
 
 import java.awt.Color;
 import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
 import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
@@ -21,7 +20,6 @@
 
 import javax.swing.JMenu;
 import javax.swing.JMenuBar;
-import javax.swing.JMenuItem;
 import javax.swing.JOptionPane;
 
 import org.geotools.coverage.GridSampleDimension;
@@ -104,7 +102,7 @@
      *            the Shapefile
      */
     private void displayLayers(File rasterFile, File shpFile) throws Exception {
-        // AbstractGridFormat format = GridFormatFinder.findFormat( rasterFile );        
+        AbstractGridFormat format = GridFormatFinder.findFormat( rasterFile );        
         reader = format.getReader(rasterFile);
 
         // Initially display the raster in greyscale using the


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoTools-commits mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-commits