Search in sources :

Example 1 with ReturnsReportView

use of eu.ggnet.dwoss.report.ui.returns.ReturnsReportView in project dwoss by gg-net.

the class ReturnsReportTryout method main.

public static void main(String[] args) {
    ReportLineGenerator gen = new ReportLineGenerator();
    List<ReportLine> list = new ArrayList<>();
    for (int i = 0; i < 10; i++) {
        list.add(gen.makeReportLine());
    }
    UiCore.startSwing(() -> new JLabel("Main Applikation"));
    Ui.exec(() -> {
        Ui.build().swing().show(() -> list, () -> new ReturnsReportView());
    });
}
Also used : ReportLine(eu.ggnet.dwoss.report.ee.entity.ReportLine) ReturnsReportView(eu.ggnet.dwoss.report.ui.returns.ReturnsReportView) ArrayList(java.util.ArrayList) JLabel(javax.swing.JLabel) ReportLineGenerator(eu.ggnet.dwoss.report.ee.assist.gen.ReportLineGenerator)

Aggregations

ReportLineGenerator (eu.ggnet.dwoss.report.ee.assist.gen.ReportLineGenerator)1 ReportLine (eu.ggnet.dwoss.report.ee.entity.ReportLine)1 ReturnsReportView (eu.ggnet.dwoss.report.ui.returns.ReturnsReportView)1 ArrayList (java.util.ArrayList)1 JLabel (javax.swing.JLabel)1