use of eu.ggnet.dwoss.redtapext.ui.cao.document.position.ServiceViewCask in project dwoss by gg-net.
the class ServiceViewCaskTryout method main.
public static void main(String[] args) {
Dl.local().add(RemoteLookup.class, new RemoteLookup() {
@Override
public <T> boolean contains(Class<T> clazz) {
return false;
}
@Override
public <T> T lookup(Class<T> clazz) {
return null;
}
});
UiCore.startSwing(() -> new JLabel("Main Applikation"));
// () -> Position.builder().type(PositionType.SERVICE).price(30.).build()
Ui.build().swing().eval(() -> OkCancelWrap.consumerVetoResult(new ServiceViewCask(GENERAL_SALES_TAX_DE_SINCE_2007))).opt().ifPresent(System.out::println);
}
Aggregations