[
https://issues.apache.org/jira/browse/BATIK-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trevor Lohrbeer updated BATIK-1036:
-----------------------------------
Attachment: 2013-01-25-fix-property-change-support-JSVGCanvas.patch
JComponent provides complete support for property change events. JSVGCanvas
does not need to provide its own.
The attached patch removes the addPropertyChangeListener and
removePropertyChangeListener methods from JSVG and has the bound properties use
Component.firePropertyChange instead.
This fix allows other bound properties to work properly on JSVGCanvas.
> JSVGCanvas doesn't register PropertyChangeListeners properly
> ------------------------------------------------------------
>
> Key: BATIK-1036
> URL: https://issues.apache.org/jira/browse/BATIK-1036
> Project: Batik
> Issue Type: Bug
> Components: GVT
> Affects Versions: 1.7
> Reporter: Trevor Lohrbeer
> Priority: Minor
> Attachments: 2013-01-25-fix-property-change-support-JSVGCanvas.patch
>
>
> JSVGCanvas uses an internal PropertyChangeSupport to support its bound
> properties. However, this breaks support for bound properties inherited from
> JComponent, Container and Component.
> The problem is that the addPropertyChangeListener and
> removePropertyChangeListener methods are overridden but the
> firePropertyChange and getPropertyChangeListeners are not, causing listeners
> registered on JSVGCanvas to not be accessible to super classes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]