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 f03671bcc56..d6ffc2f3789 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 @@ -376,9 +376,10 @@ public class BasicSplitPaneDivider extends Container /** * Messaged when the oneTouchExpandable value of the JSplitPane the - * receiver is contained in changes. Will create the - * leftButton and rightButton if they - * are null. invalidates the receiver as well. + * divider is contained in changes. Will create the + * leftButton and rightButton if they are null + * and corresponding JSplitPane supports oneTouchExpandable property. + * Invalidates the corresponding JSplitPane as well. */ protected void oneTouchExpandableChanged() { if (!DefaultLookup.getBoolean(splitPane, splitPaneUI,