package bluej.utility.javafx; import threadchecker.OnThread; import threadchecker.Tag;
| Equivalent to Consumer, but clearer (including to plugin) that it runs on FX thread | @FunctionalInterface public interface FXConsumer<T>{ @OnThread(Tag.FX) public void accept(T t); }