On 9/12/06, José Iguelmar Miranda <[EMAIL PROTECTED]> wrote:
>
> > did you get the directory structure right? and did you put the
> > geotools jars on the classpath?
> >
> > Ian
> >
>
>     I fixed the problem. Running again, I got the error:
>
> Exception in thread "main" java.lang.NullPointerException
>         at javax.swing.ImageIcon.<init>(Unknown Source)
>         at org.geotools.gui.swing.ZoomInAction.<init>(ZoomInAction.java:38)
>         at MapViewer.<init>(MapViewer.java:73)
>         at MapViewer.main(MapViewer.java:197)
>
> the MapViewer.java:73 is the line corresponding to the Action and
> ZoomInAction. The problem is to discover why there is a
> NullPointerException in ZoomInAction.
>     So, I am back to the starting point again.

Do you have the resources folder available on the classpath? I think
its failing to find the images for the buttons.

Ian
-- 

Ian Turton
http://www.geotools.org
http://pennspace.blogspot.com/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to