Ah if it exists in 2.6 as well then it must be another cause. Time to break out 
a debugger and see if you can sort out the nature of the problem.
The swing module unsupported (although popular) and welcomes contributors.

Jody

On 19/08/2010, at 5:53 PM, Sidonie Christophe wrote:

> It may be a solution ;)
> But I tested with the 2.6-SNAPSHOT too and I have the same empty 
> MapLayerTable.
> 
> Which version do you think I could test for sure?
> 
> Thanks a lot,
> Sidonie
> 
> De : Jody Garnett <[email protected]>
> À : Sidonie Christophe <[email protected]>
> Cc : geotools <[email protected]>
> Envoyé le : Jeu 19 août 2010, 2h 25min 52s
> Objet : Re: [Geotools-gt2-users] empty MapLayerTable with GT 2.7 SNAPSHOT
> 
> I think it is more that I re factored DefaultMapLayer into specific 
> implementations for 2.7; and the layer table has not been tested yet.
> 
> Jody
> 
> On 19/08/2010, at 3:04 AM, Sidonie Christophe wrote:
> 
>> Hello all,
>> 
>> I tested all examples with the 2.7-SNAPSHOT version. Everything is fine!
>> 
>> But one thing gets wrong. If I add a map layer table to the JMapframe using 
>> frame.enableLayerTable(true), for instance in the quickstart example : the 
>> layer table appears but the list is empty even if there is a layer displayed.
>> The problem appears only for the first time, because with a "add a 
>> shapefile" menu, when I effectively add a new layer, the layer item is 
>> listed correctly in the MapLayerTable...
>> 
>> I tried the solution proposed there (to respect a special order of lines) 
>> but it went wrong too because a JMapFrame could not be loaded with an empty 
>> mapcontext : 
>> http://osgeo-org.1803224.n2.nabble.com/Geotiff-render-scrolling-problem-td3804381.html
>> 
>> Is there something, I did not make right ?
>> Thanks a lot,
>> Sidonie
>> 
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by 
>> 
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev 
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to