This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210327

Summary: Outline no longer refreshes column data after TreeModel.nodeChanged(TreeNode)
Product: platform Reporter: chaddaniels <chaddaniels>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: err, punx120
Priority: P3 Keywords: REGRESSION
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch

Description chaddaniels 2012-03-28 22:26:27 UTC
Previous to 7.0, a row in an Outline could be refreshed simply by calling the TreeModel's nodeChanged(TreeNode) method.  The new behavior for 7.0+ is that this method will only refresh the tree column data, and all other columns will remain with their old data. 

It has been suggested that this is an undesired outcome of Bug 185810.

Please see the discussion on the forums at:
http://forums.netbeans.org/viewtopic.php?t=47149
Comment 1 punx120 2014-06-13 17:12:44 UTC
I believe I found the problem. In EventBroadcaster, when it creates TableEvent, the "changed" column is 0 in translateEvent and createTableChangeEvent, even though the good value TableModelEvent.ALL_COLUMNS is in the comment.

With that value changed, it works.
Comment 2 punx120 2014-06-13 17:21:05 UTC
Created attachment 147671 [details]
Patch

Here's the patch