Package com.salas.bb.utils.uif

Examples of com.salas.bb.utils.uif.BBFormBuilder.appendRow()


        BBFormBuilder builder = new BBFormBuilder("0, pref:grow, 0", this);
        builder.setDefaultDialogBorder();

        builder.append(logo, 3, CellConstraints.CENTER, CellConstraints.DEFAULT);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.appendRow("50dlu:grow");
        builder.append(sp, 3, CellConstraints.FILL, CellConstraints.FILL);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.append(buttonBar, 3, CellConstraints.RIGHT, CellConstraints.DEFAULT);
    }
View Full Code Here


        BBFormBuilder builder = new BBFormBuilder("15dlu, left:min:grow, 15dlu", this);

        builder.append(buildHeader(), 3);

        builder.setLeadingColumnOffset(1);
        builder.appendRow("15dlu");
        builder.appendRow("min:grow");
        builder.nextLine(2);
        builder.append(buildLicensePanel(), 1, CellConstraints.FILL, CellConstraints.FILL);
        builder.append(rbAccept);
        builder.append(rbDecline);
View Full Code Here

        builder.append(buildHeader(), 3);

        builder.setLeadingColumnOffset(1);
        builder.appendRow("15dlu");
        builder.appendRow("min:grow");
        builder.nextLine(2);
        builder.append(buildLicensePanel(), 1, CellConstraints.FILL, CellConstraints.FILL);
        builder.append(rbAccept);
        builder.append(rbDecline);
        builder.setLeadingColumnOffset(0);
View Full Code Here

        String msg = Strings.message(SystemUtils.IS_OS_MAC
            ? "updates.downloading.wording.mac"
            : "updates.downloading.wording");

        builder.appendRow("pref:grow");
        builder.append(ComponentsFactory.createWrappedMultilineLabel(msg), 1);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.append(Strings.message("updates.downloading.overall.progress"), 1);
        builder.append(prOverall);
        builder.appendUnrelatedComponentsGapRow(2);
View Full Code Here

            if (feeds)
            {
                builder.append(Strings.message("service.sync.in.confirmation.feeds.to.add"), 3,
                    CheckBoxList.createAllNonePanel(lstAddFeeds), 1);
                builder.appendRow("50dlu:grow");
                builder.append(new JScrollPane(lstAddFeeds), 5,
                    CellConstraints.FILL, CellConstraints.FILL);

                if (lists) builder.appendUnrelatedComponentsGapRow(2);
            }
View Full Code Here

            if (lists)
            {
                builder.append(Strings.message("service.sync.in.confirmation.readinglists.to.add"), 3,
                    CheckBoxList.createAllNonePanel(lstAddReadingLists), 1);
                builder.appendRow("50dlu:grow");
                builder.append(new JScrollPane(lstAddReadingLists), 5,
                    CellConstraints.FILL, CellConstraints.FILL);

                builder.appendUnrelatedComponentsGapRow(2);
            }
View Full Code Here

        if (addFeeds.size() > 0)
        {
            builder.append(Strings.message("readinglist.updates.feeds.should.be.added"), 3,
                    CheckBoxList.createAllNonePanel(lstAddFeeds), 1);
            builder.appendRow("50dlu:grow");
            builder.append(new JScrollPane(lstAddFeeds), 5,
                CellConstraints.FILL, CellConstraints.FILL);

            if (removeFeeds.size() > 0) builder.appendUnrelatedComponentsGapRow(2);
        }
View Full Code Here

        if (removeFeeds.size() > 0)
        {
            builder.append(Strings.message("readinglist.updates.feeds.should.be.removed"), 3,
                    CheckBoxList.createAllNonePanel(lstRemoveFeeds), 1);
            builder.appendRow("50dlu:grow");
            builder.append(new JScrollPane(lstRemoveFeeds), 5,
                CellConstraints.FILL, CellConstraints.FILL);
        }

        return builder.getPanel();
View Full Code Here

    {
        JScrollPane sp = createTasksTreeTable();

        BBFormBuilder builder = new BBFormBuilder("2dlu, pref:grow, 7dlu");

        builder.appendRow("min:grow");
        builder.append(sp, 3, CellConstraints.FILL, CellConstraints.FILL);

        return builder.getPanel();
    }
View Full Code Here

        JComponent wording = ComponentsFactory.createWrappedMultilineLabel(
            MessageFormat.format(Strings.message("duplicate.feeds.wording"), new Object[] { feedTitle }));

        builder.append(Strings.message("duplicate.feeds.and.guides"), 3);
        builder.appendRow("50dlu:grow");
        builder.append(new JScrollPane(lstGuides), 3,
            CellConstraints.FILL, CellConstraints.FILL);
        builder.appendUnrelatedComponentsGapRow(2);

        builder.append(wording, 3);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.