<Swing Dev> [14] RFR JDK-7020860 - BasicTreeUI contains getters/setters with unclear spec

Tejpal Rebari tejpal.rebari at oracle.com
Fri Dec 13 10:52:43 UTC 2019


Hi Sergey,

> On 13-Dec-2019, at 5:07 AM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> Probably we can update the BasicTreeUI.setLargeModel() as well? current spec looks incomplete:
> 
>    /**
>     * Updates the componentListener, if necessary.
>     *
>     * @param largeModel the new value
>     */
>    protected void setLargeModel(boolean largeModel) {

I would suggest to update the spec for BasicTreeUI.setLargeModel() as following
/**
 * 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20191213/922f0ff6/attachment.htm>


More information about the swing-dev mailing list