[
https://issues.apache.org/jira/browse/NETBEANS-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svatopluk Dedic reassigned NETBEANS-3252:
-----------------------------------------
Assignee: Svatopluk Dedic
> Explorer ListView provides invalid node list contents during events
> -------------------------------------------------------------------
>
> Key: NETBEANS-3252
> URL: https://issues.apache.org/jira/browse/NETBEANS-3252
> Project: NetBeans
> Issue Type: Bug
> Components: platform - Explorer
> Reporter: Svatopluk Dedic
> Assignee: Svatopluk Dedic
> Priority: Major
>
> I have an implementation of ListView with checkboxes for individual displayed
> Nodes. The *NodeListModel* maintains a cache of nodes, so it can compute node
> vertical index considering nodes in individual subtrees.
> When firing *contentsChanged* event, the cache is not cleared *before* the
> event; so if an event listener attempts to access the visualizer cache (i.e.
> *getIndex(*)), it gets an incorrect data.
> A workaround is to schedule the action to another Swing event, but I'd rather
> fix the bug.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists