mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-26 02:00:12 +00:00
8272229: BasicSplitPaneDivider:oneTouchExpandableChanged() returns leftButton and rightButton as null with GTKLookAndFeel
Reviewed-by: serb, jdv, kizune
This commit is contained in:
parent
f640c7aaa8
commit
aac6c4ea70
@ -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
|
||||
* <code>leftButton</code> and <code>rightButton</code> if they
|
||||
* are null. invalidates the receiver as well.
|
||||
* divider is contained in changes. Will create the
|
||||
* <code>leftButton</code> and <code>rightButton</code> if they are null
|
||||
* and corresponding JSplitPane supports oneTouchExpandable property.
|
||||
* Invalidates the corresponding JSplitPane as well.
|
||||
*/
|
||||
protected void oneTouchExpandableChanged() {
|
||||
if (!DefaultLookup.getBoolean(splitPane, splitPaneUI,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user