use of eu.ggnet.dwoss.uniqueunit.ee.assist.gen.ProductGenerator in project dwoss by gg-net.
the class ProductEditorTryout method main.
/**
* The main() method is ignored in correctly deployed JavaFX application.
* main() serves only as fallback in case the application can not be
* launched through deployment artifacts, e.g., in IDEs with limited FX
* support. NetBeans ignores main().
*
* @param args the command line arguments
*/
public static void main(String[] args) {
// launch(args);
UiCore.startSwing(() -> new JLabel("Mainapplicakt"));
// Neue Ui.build().fxml().eval(ProductEditorController.class).ifPresent(System.out::println);
// Alt
ProductGenerator gen = new ProductGenerator();
Product makeProduct = gen.generateProduct(1).get(0);
/**
* Check mal den Pfad des UniqueUnit Modules hier und danach in der
* ProjectGroup dwoss. Zu finden unter: rechtsklick auf modul ->
* Properties -> Sources
*/
System.out.println(makeProduct);
Ui.exec(() -> {
Ui.build().fxml().eval(ProductEditorController.class).opt().ifPresent(System.out::println);
});
}
Aggregations