The implementation of Dialog.dialogPane adds a ListChangeListener to DialogPane.buttonTypes, and calls DialogPane.requestLayout() from the listener.
This is not needed, because the DialogPane.createButtonBar() method already specifies that implementers are required to observe changes of DialogPane.buttonTypes, and appropriately relayout the button bar.
This is not needed, because the DialogPane.createButtonBar() method already specifies that implementers are required to observe changes of DialogPane.buttonTypes, and appropriately relayout the button bar.
- links to
-
Review(master)
openjdk/jfx/1973