[geotk] Error in "Display swing widgets" StylePanel dialog ?
johann.sorel at geomatys.com
Mon Nov 26 05:14:21 PST 2012
I will have a look at it, I don't think it will be long.
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Geotoolkit