[geotk] Error in "Display swing widgets" StylePanel dialog ?
johann sorel
johann.sorel at geomatys.com
Tue Nov 27 02:01:07 PST 2012
Hello trond,
a fix has been pushed, tell me if it's ok for you.
johann sorel
Geomatys
On 26/11/2012 14:14, johann sorel wrote:
> Hello Trond,
>
> I will have a look at it, I don't think it will be long.
>
> johann
>
>
> On 26/11/2012 12:40, Westgård Trond wrote:
>>>
>>> In our application "MapHandler" that heavily relies on the
>>> geotoolkit "Display swing widgets"-module we get an error that did
>>> not occur in earlier versions of geotoolkit.
>>>
>>> It could be caused by error in our own code since we have done some
>>> rewriting, but I have a suspicion to the JPropertyDialog class.
>>>
>>> In our example we want to change the colors of the polygons in a
>>> FeatureMapLayer. We opens the JSimpleStylePanel dialog and change
>>> the color (to red in this case) -- see below.
>>>
>>> The problem comes when the "Apply"-button is pressed. The action is
>>> trigged but the variable activePanel is null. The peculiar thing is
>>> that at first the activePanel is set to a correct value and then to
>>> null and of course when activePanel is not referening a
>>> JSimpleStylePanel then the "apply" method in that class is not
>>> performed and then nothing happens in the MapLayer.
>>>
>>> Any hints would be appreciated !!
>>>
>>> Best Regards
>>>
>>> Trond
>>>
>
>
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20121127/7d800e4b/attachment.html>
More information about the Geotoolkit
mailing list