Package com.jgoodies.forms.builder

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


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

    int y = 1;
    builder.addSeparator(getTitle(), cc.xywh(1, y, 1, 1));

    y += 2;
    //i18n[PleaseWaitDialog.pleaseWait=Please wait while the query is executed]
    builder.addLabel(stringMgr.getString("PleaseWaitDialog.pleaseWait"), cc.xy(1, y));
View Full Code Here


    y += 2;
    //i18n[PleaseWaitDialog.pleaseWait=Please wait while the query is executed]
    builder.addLabel(stringMgr.getString("PleaseWaitDialog.pleaseWait"), cc.xy(1, y));

    y += 2;
    builder.addSeparator("", cc.xywh(1, y, 1, 1));

    //i18n[PleaseWaitDialog.cancel=Cancel]
    cancelButton = new JButton(stringMgr.getString("PleaseWaitDialog.cancel"));
    cancelButton.addActionListener(this);
   
View Full Code Here

                "p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p");

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

        builder.addSeparator("DataDomain Configuration", cc.xywh(1, 1, 7, 1));
        builder.addLabel("DataDomain Name:", cc.xy(1, 3));
        builder.add(name.getComponent(), cc.xywh(3, 3, 5, 1));

        builder.addLabel("DataContext Factory:", cc.xy(1, 5));
        builder.add(dataContextFactory.getComponent(), cc.xywh(3, 5, 5, 1));
View Full Code Here

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

        builder.addLabel("Container-Managed Transactions:", cc.xy(1, 9));
        builder.add(externalTransactions, cc.xy(3, 9));
       
        builder.addSeparator("Cache Configuration", cc.xywh(1, 11, 7, 1));
        builder.addLabel("Max. Number of Objects:", cc.xy(1, 13));
        builder.add(cacheSize.getComponent(), cc.xy(3, 13));

        builder.addLabel("Use Shared Cache:", cc.xy(1, 15));
        builder.add(sharedCache, cc.xy(3, 15));
View Full Code Here

    PanelBuilder builder = new PanelBuilder(lm);
    // builder.setDefaultDialogBorder();
    CellConstraints cc = new CellConstraints();

    int row = 1;
    builder.addSeparator("General", cc.xyw(1, row, 5));

    final JComboBox addKindCombo = new JComboBox(new Object[] { "regular",
        "null", "modified" });
    JButton addNewTabButton = new JButton("Add");
    addNewTabButton.addActionListener(new ActionListener() {
View Full Code Here

    builder.addLabel("Close all", cc.xy(1, row));
    builder.add(closeAllEnabled, cc.xy(3, row));
    builder.add(restoreClosed, cc.xy(5, row));

    row += 2;
    builder.addSeparator("Single Tab", cc.xyw(1, row, 5));

    final JComboBox tabSelectorCombo = new JComboBox(new TabComboBoxModel(
        this.jtp));
    tabSelectorCombo.setRenderer(new TabCellRenderer());
    jtp.addContainerListener(new ContainerAdapter() {
View Full Code Here

    builder.addLabel("Tab op", cc.xy(1, row));
    builder.add(closeButton, cc.xy(3, row));
    builder.add(selectButton, cc.xy(5, row));

    row += 2;
    builder.addSeparator("Close Button Single", cc.xyw(1, row, 5));

    row += 2;
    builder.addLabel("Visible", cc.xy(1, row));
    builder.add(hasCloseButton, cc.xyw(3, row, 3));
View Full Code Here

    CellConstraints cc = new CellConstraints();
    builder.setDefaultDialogBorder();
   
    int y = 1;
    //i18n[ExcelSettingsPanel.xlsSettings=Excel import settings]
    builder.addSeparator(stringMgr.getString("ExcelSettingsPanel.xlsSettings"), cc.xywh(1, y, 3, 1));
   
    y += 2;
    //i18n[ExcelSettingsPanel.sheetName=Sheet name]
    builder.add(new JLabel(stringMgr.getString("ExcelSettingsPanel.sheetName")), cc.xy(1, y));
    builder.add(sheetName, cc.xy(3, y));
View Full Code Here

    CellConstraints cc = new CellConstraints();
    builder.setDefaultDialogBorder();
   
    int y = 1;
    //i18n[CSVSettingsPanel.csvSettings=CSV settings]
    builder.addSeparator(stringMgr.getString("CSVSettingsPanel.csvSettings"), cc.xywh(1, y, 5, 1));
   
    y += 2;
    builder.add(useChar, cc.xy(1, y));
    builder.add(seperatorChar, cc.xy(3,y));
    builder.add(useTab, cc.xy(5, y));
View Full Code Here

    //i18n[sqlparam.quoteValues=Quote Values]
    builder.addLabel(stringMgr.getString("sqlparam.quoteValues"), cc.xy(1, y));
    builder.add(quote, cc.xywh(3, y, 1, 1));

    y += 2;
    builder.addSeparator("", cc.xywh(1, y, 3, 1));

    y += 2;
    builder.add(btnsPnl, cc.xywh(1, y, 3, 1));

    return builder.getPanel();
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.