mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.13k stars 234 forks source link

WebCheckBoxTree excessive check state change events #611

Open mgarin opened 4 years ago

mgarin commented 4 years ago

States are checked, but only for the initial list of nodes passed, not for ones that are recursively checked/unchecked. See DefaultTreeCheckingModel (L223).

This causes events like "checked -> checked" or "unchecked -> unchecked" to happen in case parent node was in mixed state.