[geotk] Error in "Display swing widgets" StylePanel dialog ?

johann sorel johann.sorel at geomatys.com
Mon Nov 26 05:12:03 PST 2012


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
>
> Trond Westgård
>
> Senior Engineer
>
> Institute of Marine Research
>
> Bergen, Norway
>
> trondwe at imr.no
>
>
>
> _______________________________________________
> 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/20121126/9cb81bab/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 13895 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20121126/9cb81bab/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 55602 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20121126/9cb81bab/attachment-0003.jpe>


More information about the Geotoolkit mailing list