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.
...since Look.getChildObjects() defaults to null. If you override neither, you should get a consistent Look - currently you get a bogus expand handle. As I think mentioned before, "isLeaf" is actually a negative name, which contributes to the confusion surrounding it. "hasChildren" would have been a better name since it is positive (and the default for that name should of course be false).
Agree. But hasChildren is a little bit confusing too. In fact it should be something like canHaveChildren(). But it does not sound that good. Any other oprions?
"permitsChildren"? I don't know.
OK permitsChildren sounds reasonable good. I'll definitely change the default beahviour and I'll ask some more people to get their opinion on whether it is better to have the less confusing permitsChildren or the negative isLeaf which is more consistent with DefaultTree model.
Changing target milestone on all Looks issues to future
x