Re: [OpenMap Users] Raster Files

From: Luigi Trevisant <luitre@email.it>
Date: Mon Dec 19 2005 - 15:34:54 EST

I'm using the JAIPlugIn in this way, but without success:

                   JAIPlugIn jai= new JAIPlugIn();
                   jai.loadRaster(selectedFile.getAbsolutePath());
                    PlugInLayer layer = new PlugInLayer();
                    layer.setPlugIn(jai);
                    Layer l = layer;
                    layerHandler.addLayer(l, 0);

It throws a null pointer exception

What is my error

Thanks

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Un regalo speciale per Natale? TIM UMTS con 500 Euro di telefonate GRATIS! Scegli il tuo modello...
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4430&d=19-12

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Dec 19 14:38:22 2005

This archive was generated by hypermail 2.1.8 : Mon Dec 19 2005 - 14:38:22 EST