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.
The ETableColumnModel contains both visible and invisible columns. It provides the visible ones through getColumns() method, but there's no way to obtain the invisible ones and therefore no way to clean the model from all columns. The cleaning is necessary for proper refresh when all columns are changed and not doing so results in bugs like issue #194028. Therefore it's proposed to add public void ETableColumnModel.clean() method.
Created attachment 105786 [details] The API change.
Please review this simple API change.
Y01 You may want to make the method final.
Thanks for the review, I'm going to integrate it...
Implemented by changeset: 189981:8cb85edc2c97 http://hg.netbeans.org/main/rev/8cb85edc2c97
Integrated into 'main-golden', will be available in build *201103040000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8cb85edc2c97 User: mentlicher@netbeans.org Log: #195226 ETableColumnModel.clean() method introduced.