Package com.jgoodies.forms.builder

Examples of com.jgoodies.forms.builder.PanelBuilder.addSeparator()


                new FormLayout(
                        "right:max(50dlu;pref), 3dlu, fill:min(150dlu;pref), 3dlu, 300dlu, 3dlu, fill:min(120dlu;pref)",
                        "p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, top:14dlu, 3dlu, top:p:grow"));
        builder.setDefaultDialogBorder();

        builder.addSeparator("ObjRelationship Information", cc.xywh(1, 1, 5, 1));
        builder.addLabel("Relationship:", cc.xy(1, 3));
        builder.add(relationshipName, cc.xywh(3, 3, 1, 1));

        builder.addLabel("Current Db Path:", cc.xy(1, 5));
        builder.add(currentPathLabel, cc.xywh(3, 5, 5, 1));
View Full Code Here


        collectionTypeLabel = builder.addLabel("Collection Type:", cc.xy(1, 11));
        builder.add(collectionTypeCombo, cc.xywh(3, 11, 1, 1));
        mapKeysLabel = builder.addLabel("Map Key:", cc.xy(1, 13));
        builder.add(mapKeysCombo, cc.xywh(3, 13, 1, 1));

        builder.addSeparator("Mapping to DbRelationships", cc.xywh(1, 15, 5, 1));

        JPanel buttonsPane = new JPanel(new FlowLayout(FlowLayout.LEADING));
        buttonsPane.add(selectPathButton);
        buttonsPane.add(newRelButton);
View Full Code Here

                "right:pref, 3dlu, pref:grow",
                "pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref");
        PanelBuilder builder = new PanelBuilder(layout);
       
        CellConstraints c = new CellConstraints();
        builder.addSeparator("Server",      c.xyw(1, 1, 3));
        builder.addLabel("Hostname:",       c.xy (1, 3));
        builder.add(tfHostname,             c.xy (3, 3));
       
        builder.addLabel("Port:",           c.xy (1, 5));
        builder.add(tfPort,                 c.xy (3, 5));
View Full Code Here

        "right:pref, 3dlu, pref:grow",
        "pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, fill:pref:grow");
    PanelBuilder builder = new PanelBuilder(layout);
   
    CellConstraints c = new CellConstraints();
    builder.addSeparator("Message Header", c.xyw(1, 1, 3));
    builder.addLabel("Group:",     c.xy (1, 3));
    builder.add(tfGroup,       c.xy (3, 3));
   
    builder.addLabel("Subject:",   c.xy (1, 5));
    builder.add(tfSubject,       c.xy (3, 5));
View Full Code Here

    builder.add(tfGroup,       c.xy (3, 3));
   
    builder.addLabel("Subject:",   c.xy (1, 5));
    builder.add(tfSubject,       c.xy (3, 5));

    builder.addSeparator("Message Content", c.xyw(1, 7, 3));
    builder.add(new JScrollPane(taContent),   c.xyw(1, 9, 3));

    builder.setDefaultDialogBorder();
    add(builder.getPanel(), BorderLayout.CENTER);
  }
View Full Code Here

        PanelBuilder builder = new PanelBuilder(layout);
        builder.setDefaultDialogBorder();
        CellConstraints cc = new CellConstraints();

        builder.addSeparator("Locomotive Groups", cc.xyw(1, 1, 1));

        builder.add(new JScrollPane(locomotiveGroupList), cc.xy(1, 3));
        builder.add(buildGroupButtonBar(), cc.xy(1, 5));

        builder.addSeparator("Locomotives", cc.xyw(3, 1, 1));
View Full Code Here

        builder.addSeparator("Locomotive Groups", cc.xyw(1, 1, 1));

        builder.add(new JScrollPane(locomotiveGroupList), cc.xy(1, 3));
        builder.add(buildGroupButtonBar(), cc.xy(1, 5));

        builder.addSeparator("Locomotives", cc.xyw(3, 1, 1));
        builder.add(new JScrollPane(locomotivesTable), cc.xy(3, 3));
        builder.add(buildLocomotiveButtonBar(), cc.xy(3, 5));

        builder.add(buildMainButtonBar(), cc.xyw(1, 7, 3));
        add(builder.getPanel());
View Full Code Here

        PanelBuilder builder = new PanelBuilder(layout);
        builder.setDefaultDialogBorder();
        CellConstraints cc = new CellConstraints();

        builder.addSeparator("General", cc.xyw(1, 1, 3));

        builder.addLabel("Name", cc.xy(1, 3));
        builder.add(nameTextField, cc.xy(3, 3));

        builder.addLabel("Description", cc.xy(1, 5));
View Full Code Here

        builder.add(imageTextField, cc.xy(3, 7));

        builder.addLabel("Type", cc.xy(1, 9));
        builder.add(locomotiveTypeComboBox, cc.xy(3, 9));

        builder.addSeparator("Interface", cc.xyw(5, 1, 3));

        builder.addLabel("Bus", cc.xy(5, 3));
        builder.add(busTextField, cc.xy(7, 3));

        builder.addLabel("Address", cc.xy(5, 5));
View Full Code Here

        PanelBuilder builder = new PanelBuilder(layout);
        builder.setDefaultDialogBorder();
        CellConstraints cc = new CellConstraints();

        builder.addSeparator("Turnout Groups", cc.xyw(1, 1, 1));

        builder.add(new JScrollPane(turnoutGroupList), cc.xy(1, 3));
        builder.add(turnoutGroupConfig, cc.xy(1, 5));
        builder.add(buildGroupButtonBar(), cc.xy(1, 7));
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.