diff --git a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java b/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java index 188e6753887..119e12276c7 100644 --- a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java +++ b/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -394,7 +394,10 @@ public class BasicSplitPaneDivider extends Container /** * Messaged when the oneTouchExpandable value of the JSplitPane the - * divider is contained in changes. Will create the + * divider is contained in changes. + * If a particular L&F supports this Swing + * "SplitPane.supportsOneTouchButtons" property + * it will create the * leftButton and rightButton if they are null * and corresponding JSplitPane supports oneTouchExpandable property. * Invalidates the corresponding JSplitPane as well.