here's a part of my pom.xml file.
<properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <geotools.version>8-SNAPSHOT</geotools.version>
</properties>
as you can see i use the snapshot version !
In debug mode there's no exception.
In normal mode everything work fine except this exception when the App 
start.

Regards
Ludji

--------------------------------------------------
From: "Michael Bedward" <[email protected]>
Sent: Wednesday, July 27, 2011 1:33 PM
To: "Ludji ATHENES" <[email protected]>
Cc: <[email protected]>
Subject: Re: [Geotools-gt2-users] problem using JMapFrame and ToolBar

> Hi Ludji,
>
> I just tried SelectionLab and it works fine for me. I wonder what is going 
> on ?
>
> Can I just ask you to check your pom.xml file and make sure that you
> are using version 8.0-SNAPSHOT (and not version 8.0-M1) for all
> GeoTools dependencies, and that you have the snapshot repository
> defined as described here:
>
> http://docs.geotools.org/latest/userguide/faq.html#q-what-is-a-snapshot-version-and-how-do-i-use-it
>
> Michael
>
>
> On 27 July 2011 18:33, Ludji ATHENES <[email protected]> wrote:
>> Hello Michael thanks for answer me.
>>
>> I'm running and application that hold the Toolbar on JMapFrame like
>> SelectionLab.java and the problem happens with any shapefile. My own
>> shapefile and all shapeFile I've dowloaded from your site for the 
>> tutorial
>> for example countries.shp references on ImageLab tutorial for Udig sample
>> dataset.
>>
>> I think it's happens when i use this lines in my code :
>>
>> map.addLayer(layer);
>> mapFrame = new JMapFrame(map);
>> mapFrame.enableToolBar(true);   <----- the line that produce the problem 
>> (in
>> my opinion)
>> mapFrame.enableStatusBar(true);
>>
>> Regards,
>>
>> Ludji
>>
> 

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to