Skip to content

Commit

Permalink
8272229: BasicSplitPaneDivider:oneTouchExpandableChanged() returns le…
Browse files Browse the repository at this point in the history
…ftButton and rightButton as null with GTKLookAndFeel

Reviewed-by: serb, jdv, kizune
  • Loading branch information
Pankaj Bansal committed Oct 9, 2021
1 parent f640c7a commit aac6c4e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,10 @@ public void paint(Graphics g) {

/**
* 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,
Expand Down

1 comment on commit aac6c4e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.