This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| de.jensd.fx.glyphs.GlyphIcon -> com.sun.javafx.css.ParsedValueImpl JDK internal API (javafx.graphics) | |
| de.jensd.fx.glyphs.GlyphIcon -> com.sun.javafx.css.parser.CSSParser JDK internal API (JDK removed internal API) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void forEachOrdered(final Consumer<ObjectProperty<? super T>> action) { | |
| stream.forEachOrdered((t) -> Platform.runLater(() -> action.accept(new SimpleObjectProperty<>(t)))); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static final <T> Future<T> runFuture(Supplier<T> supplier) { | |
| FutureTask<T> futureTask = new FutureTask<>(() -> supplier.get()); | |
| Platform.runLater(futureTask); | |
| return futureTask; | |
| } | |
| public static final <T> Optional<T> runFutureValue(Supplier<T> supplier) { | |
| Future<T> runFuture = runFuture(supplier); | |
| try { | |
| return Optional.of(runFuture.get()); |