On a map, labels are used to indicate certain districts. The user can click on the label to swap in a screen with details of the district. Also, when the user hovers over the label it switches color. The problem is that if the user clicks on the label an error occurs
“File “event:mouseClicked”, line 12, in ? TypeError: can’t set arbitrary attribute in java instance: hovvercolor”
Basically the mouse click event swaps the screens and sets the label color back to white. That’s the issue, the style driver “hovvercolor” gets set to 0 then the error occurs. Strange because there is one label that is setup exactly the same as the others and the error does not occur.