Skip to content

Release 2.2.0 - Dialog Factory Changes

Compare
Choose a tag to compare
@thomasnield thomasnield released this 09 Sep 19:14
· 14 commits to 2.x since this release

This is the first breaking change in awhile, although it only affects the Dialog factory. JavaFxObservable.fromDialog() will return a Maybe<T> rather than an Observable<T> now. This makes sense since a Dialog may only have one response from the user, if there is any provided value at all.

Dialog<String> dlg = ...;

Maybe<String> response = JavaFxObservable.fromDialog(dlg);