Skip to content

Commit eb7ead5

Browse files
committed
8336873: BasicSplitPaneDivider:oneTouchExpandableChanged() should mention that implementation depends on SplitPane.supportsOneTouchButtons property
Reviewed-by: prr, abhiscxk
1 parent 0ddcd70 commit eb7ead5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -394,7 +394,10 @@ public void paint(Graphics g) {
394394

395395
/**
396396
* Messaged when the oneTouchExpandable value of the JSplitPane the
397-
* divider is contained in changes. Will create the
397+
* divider is contained in changes.
398+
* If a particular L&F supports this Swing
399+
* "SplitPane.supportsOneTouchButtons" property
400+
* it will create the
398401
* <code>leftButton</code> and <code>rightButton</code> if they are null
399402
* and corresponding JSplitPane supports oneTouchExpandable property.
400403
* Invalidates the corresponding JSplitPane as well.

0 commit comments

Comments
 (0)