I would suggest to update the spec for BasicTreeUI.setLargeModel() as following
Note that the first sentence(before the first dot) is used as a summary of the
method by the javadoc tool,
see "Method Summary" block:
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/plaf/basic/BasicTreeUI.html
==========
protected void setLargeModel​(boolean largeModel) Updates the
componentListener, if necessary.
==========
It would be good to make the summary above more meaningful.
/**
* Updates the componentListener, if necessary.
*
* Called when the {@code largeModel} property is changed in the drawn tree
* component.
*
* @param largeModel the new value of the {@code largeModel} property
*/
Regards
Tejpal
--
Best regards, Sergey.