Example usage for com.jgoodies.forms.layout CellConstraints xy

List of usage examples for com.jgoodies.forms.layout CellConstraints xy

Introduction

In this page you can find the example usage for com.jgoodies.forms.layout CellConstraints xy.

Prototype

public CellConstraints xy(int col, int row) 

Source Link

Document

Sets column and row origins; sets width and height to 1; uses the default alignments.

Examples:

 cc.xy(1, 1); cc.xy(1, 3); 

Usage

From source file:cz.cuni.mff.peckam.java.origamist.gui.editor.OrigamiPropertiesFrame.java

License:Open Source License

/**
 * Add all components to a layout./* ww  w.  j av  a 2  s.  c  om*/
 */
protected void buildLayout() {
    Configuration conf = ServiceLocator.get(ConfigurationManager.class).get();

    CellConstraints cc = new CellConstraints();

    final JTabbedPane tabPane = new JTabbedPane();
    int tabIndex = 0;

    JPanel basicPanel = new JPanel(new FormLayout("$dmargin,right:pref,$lcgap,pref:grow,$dmargin",
            "$dmargin,pref,$lgap,pref,$lgap,pref,$lgap,pref,$lgap,pref,$lgap,pref,$lgap,pref,$dmargin"));
    final int basicPanelTabIndex = tabIndex++;
    tabPane.addTab("", basicPanel);
    conf.addAndRunResourceBundleListener(
            new Configuration.LocaleListener("application", "OrigamiPropertiesFrame.basicPanelTitle") {
                @Override
                protected void updateText(String text) {
                    tabPane.setTitleAt(basicPanelTabIndex, text);
                }
            });

    basicPanel.add(nameLabel, cc.xy(2, 2));
    basicPanel.add(name, cc.xy(4, 2));
    basicPanel.add(creationDateLabel, cc.xy(2, 4));
    basicPanel.add(creationDate, cc.xy(4, 4));
    basicPanel.add(authorNameLabel, cc.xy(2, 6));
    basicPanel.add(authorName, cc.xy(4, 6));
    basicPanel.add(authorHomepageLabel, cc.xy(2, 8));
    basicPanel.add(authorHomepage, cc.xy(4, 8));
    basicPanel.add(shortDescLabel, cc.xy(2, 10));
    basicPanel.add(shortDesc, cc.xy(4, 10));
    basicPanel.add(originalLabel, cc.xy(2, 12));
    basicPanel.add(original, cc.xy(4, 12));
    basicPanel.add(description, cc.xywh(2, 14, 3, 1));

    JPanel thumbnailPanel = new JPanel(
            new FormLayout("$dmargin,center:min(pref;50dlu),$ugap,pref,$ugap,pref,$dmargin",
                    "$dmargin,pref,$lgap,pref,$dmargin"));
    final int thumbnailPanelTabIndex = tabIndex++;
    tabPane.addTab("", thumbnailPanel);
    conf.addAndRunResourceBundleListener(
            new Configuration.LocaleListener("application", "OrigamiPropertiesFrame.thumbnailPanelTitle") {
                @Override
                protected void updateText(String text) {
                    tabPane.setTitleAt(thumbnailPanelTabIndex, text);
                }
            });

    thumbnailPanel.add(thumbnailPreviewLabel, cc.xy(2, 2));
    thumbnailPanel.add(thumbnailPreview, cc.xy(2, 4));
    thumbnailPanel.add(thumbnailLoadFromModel, cc.xy(4, 2));
    thumbnailPanel.add(thumbnailLoadFromFile, cc.xy(6, 2));
    thumbnailPanel.add(thumbnailFileInputLabel, cc.xy(4, 4));
    thumbnailPanel.add(thumbnailFileInput, cc.xy(6, 4));

    final JScrollPane licenseContentScrollPane = new JScrollPane(licenseContent,
            JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);

    JPanel licenseNamePanel = new JPanel(new FormLayout("pref,$lcgap,pref:grow", "pref"));
    licenseNamePanel.add(licenseNameLabel, cc.xy(1, 1));
    licenseNamePanel.add(licenseName, cc.xy(3, 1));

    licenseChooseContent.addItemListener(new ItemListener() {
        @Override
        public void itemStateChanged(ItemEvent e) {
            if (e.getStateChange() == ItemEvent.SELECTED) {
                licenseHomepageLabel.setVisible(false);
                licenseContentLabel.setVisible(true);
                licenseContentScrollPane.setVisible(true);
            }
        }
    });
    licenseChooseHomepage.addItemListener(new ItemListener() {
        @Override
        public void itemStateChanged(ItemEvent e) {
            if (e.getStateChange() == ItemEvent.SELECTED) {
                licenseContentLabel.setVisible(false);
                licenseHomepageLabel.setVisible(true);
                licenseContentScrollPane.setVisible(false);
            }
        }
    });
    licenseHomepageLabel.setVisible(licenseHomepage.isVisible());
    licenseContentLabel.setVisible(licenseContent.isVisible());
    licenseContentScrollPane.setVisible(licenseContent.isVisible());

    JPanel licenseContentPanel = new JPanel(new FlowLayout(FlowLayout.LEADING));
    licenseContentPanel.add(licenseChooseContent);
    licenseContentPanel.add(licenseChooseHomepage);

    JPanel licenseHomepagePanel = new JPanel(new FormLayout("pref,$lcgap,pref:grow", "pref"));
    licenseHomepagePanel.add(licenseHomepageLabel, cc.xy(1, 1));
    licenseHomepagePanel.add(licenseHomepage, cc.xy(3, 1));

    JPanel licensePermissionPanel = new JPanel(new GridLayout(0, 1));
    licensePermissionPanel.add(licensePermissionDoNothing);
    licensePermissionPanel.add(licensePermissionEdit);
    licensePermissionPanel.add(licensePermissionExport);
    licensePermissionPanel.add(licensePermissionDistribute);

    JPanel licensePanel = new JPanel(new FormLayout("$dmargin,min(pref;500px):grow,$dmargin",
            "$dmargin,pref,$lgap,pref,$lgap,pref,$rgap,pref,$lgap,pref,$lgap,pref,$lgap,pref,$lgap,pref,$dmargin"));
    final int licensePanelTabIndex = tabIndex++;
    tabPane.addTab("", licensePanel);
    conf.addAndRunResourceBundleListener(
            new Configuration.LocaleListener("application", "OrigamiPropertiesFrame.licensePanelTitle") {
                @Override
                protected void updateText(String text) {
                    tabPane.setTitleAt(licensePanelTabIndex, text);
                }
            });

    JPanel predefinedLicensesPanel = new JPanel(new FormLayout("pref"));
    PanelBuilder builder = new PanelBuilder((FormLayout) predefinedLicensesPanel.getLayout(),
            predefinedLicensesPanel);
    for (JRadioButton b : predefinedLicenses) {
        builder.appendRow("$lgap");
        builder.appendRow("pref");
        builder.nextLine();
        builder.add(b);
        builder.nextLine();
    }

    JLabel licenseChooseLabel = new JLocalizedLabel("application", "OrigamiPropertiesFrame.licenseChooseLabel");

    licensePanel.add(licenseNamePanel, cc.xy(2, 2));
    licensePanel.add(predefinedLicensesPanel, cc.xy(2, 4));
    licensePanel.add(licenseChooseLabel, cc.xy(2, 6));
    licensePanel.add(licenseContentPanel, cc.xy(2, 8));
    licensePanel.add(licenseContentLabel, cc.xy(2, 10));
    licensePanel.add(licenseContentScrollPane, cc.xy(2, 12));
    licensePanel.add(licenseHomepagePanel, cc.xy(2, 14));
    licensePanel.add(licensePermissionPanel, cc.xy(2, 16));

    final int diagramPaperTabIndex = tabIndex++;
    JPanel diagramPaperPanel = new JPanel(
            new FormLayout("$dmargin,default,$dmargin", "$dmargin,default,$dmargin"));
    diagramPaperPanel.add(diagramPaper, cc.xy(2, 2));
    tabPane.addTab("", diagramPaperPanel);
    conf.addAndRunResourceBundleListener(
            new Configuration.LocaleListener("application", "OrigamiPropertiesFrame.diagramPaperLabel") {
                @Override
                protected void updateText(String text) {
                    tabPane.setTitleAt(diagramPaperTabIndex, text);
                }
            });

    final int modelPaperTabIndex = tabIndex++;
    JPanel modelPaperPanel = new JPanel(
            new FormLayout("$dmargin,default,$dmargin", "$dmargin,default,$dmargin"));
    modelPaperPanel.add(modelPaper, cc.xy(2, 2));
    tabPane.addTab("", modelPaperPanel);
    conf.addAndRunResourceBundleListener(
            new Configuration.LocaleListener("application", "OrigamiPropertiesFrame.modelPaperLabel") {
                @Override
                protected void updateText(String text) {
                    tabPane.setTitleAt(modelPaperTabIndex, text);
                }
            });

    JPanel dialogButtonsPanel = new JPanel(new FlowLayout(FlowLayout.TRAILING));
    dialogButtonsPanel.add(cancelButton);
    dialogButtonsPanel.add(okButton);

    setLayout(new FormLayout("default", "default,$lgap,default"));
    add(tabPane, cc.xy(1, 1));
    add(dialogButtonsPanel, cc.xy(1, 3));

    pack();
}

From source file:cz.cvut.promod.EPC2XHTMLExport.ui.ExporterSettingsView.java

License:MIT License

private void initLayout() {
    Panel_OptionsPanel.setLayout(cardLayout);

    setBorder(Borders.createEmptyBorder(ComponentFactoryService.DEFAULT_FORM_BORDER));

    setLayout(new FormLayout("pref, 3dlu, 50dlu,80dlu, 10dlu, pref, 3dlu, pref, pref:grow",
            "pref, 30dlu,pref, 30dlu,pref, 30dlu,pref,fill:pref:grow"));
    final CellConstraints cellConstraints = new CellConstraints();
    add(Label_Path, cellConstraints.xy(1, 1));
    add(TextField_Path, cellConstraints.xyw(3, 1, 2));
    add(Button_Browse, cellConstraints.xy(6, 1));
    add(Button_Export, cellConstraints.xy(8, 1));
    add(Label_Notes, cellConstraints.xy(1, 4));
    add(TextField_Name, cellConstraints.xyw(3, 2, 2));
    add(Label_Theme, cellConstraints.xy(1, 3));
    add(ComboBox_Format, cellConstraints.xyw(3, 3, 2));
    add(Label_Name, cellConstraints.xy(1, 2));
    add(CheckBox_ShowNotes, cellConstraints.xy(3, 4));
    // add(RadioButton_File, cellConstraints.xy(6,2));
    add(RadioButton_Folder, cellConstraints.xy(6, 3));
    add(RadioButton_DokuWiki, cellConstraints.xy(6, 4));
    add(RadioButton_LaTeX, cellConstraints.xy(6, 5));
    add(Label_Export, cellConstraints.xy(1, 5));
    add(RadioButton_DoNothing, cellConstraints.xyw(3, 5, 2));
    add(RadioButton_OpenWithDefault, cellConstraints.xyw(3, 6, 2));
    add(RadioButton_OpenWithNone, cellConstraints.xy(3, 7));
    add(TextField_OpenWith, cellConstraints.xy(4, 7));
    add(Button_OpenWith, cellConstraints.xy(6, 7));

}

From source file:cz.nn.copytables.gui.CopyTablesGUI.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Evaluation license - Rudolf Rada
    ResourceBundle bundle = ResourceBundle.getBundle("locale");
    menuBar = new JMenuBar();
    menuFile = new JMenu();
    menuItemOpenFile = new JMenuItem();
    menuItemCloseFile = new JMenuItem();
    menuItemConfig = new JMenuItem();
    menuHelp = new JMenu();
    menuItemHelp = new JMenuItem();
    menuItemAbout = new JMenuItem();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(new Color(204, 255, 204));

    // JFormDesigner evaluation mark
    setBorder(//from   w w w .  j  a  v a 2s  .c  o  m
            new javax.swing.border.CompoundBorder(
                    new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                            "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                            javax.swing.border.TitledBorder.BOTTOM,
                            new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                    getBorder()));
    addPropertyChangeListener(new java.beans.PropertyChangeListener() {
        public void propertyChange(java.beans.PropertyChangeEvent e) {
            if ("border".equals(e.getPropertyName()))
                throw new RuntimeException();
        }
    });

    setLayout(new FormLayout("default", "default, $lgap, default"));

    //======== menuBar ========
    {

        //======== menuFile ========
        {
            menuFile.setText(bundle.getString("CopyTablesGUI.menuFile.text"));

            //---- menuItemOpenFile ----
            menuItemOpenFile.setText(bundle.getString("CopyTablesGUI.menuItemOpenFile.text"));
            menuItemOpenFile.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    menuItem2ActionPerformed(e);
                }
            });
            menuFile.add(menuItemOpenFile);

            //---- menuItemCloseFile ----
            menuItemCloseFile.setText(bundle.getString("CopyTablesGUI.menuItemCloseFile.text"));
            menuItemCloseFile.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    menuItem3ActionPerformed(e);
                }
            });
            menuFile.add(menuItemCloseFile);

            //---- menuItemConfig ----
            menuItemConfig.setText(bundle.getString("CopyTablesGUI.menuItemConfig.text"));
            menuItemConfig.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    menuItem4ActionPerformed(e);
                }
            });
            menuFile.add(menuItemConfig);
        }
        menuBar.add(menuFile);

        //======== menuHelp ========
        {
            menuHelp.setText(bundle.getString("CopyTablesGUI.menuHelp.text"));

            //---- menuItemHelp ----
            menuItemHelp.setText(bundle.getString("CopyTablesGUI.menuItemHelp.text"));
            menuItemHelp.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    menuItemHelpActionPerformed(e);
                }
            });
            menuHelp.add(menuItemHelp);

            //---- menuItemAbout ----
            menuItemAbout.setText(bundle.getString("CopyTablesGUI.menuItemAbout.text"));
            menuItemAbout.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    menuItemAboutActionPerformed(e);
                }
            });
            menuHelp.add(menuItemAbout);
        }
        menuBar.add(menuHelp);
    }
    add(menuBar, cc.xy(1, 1));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:cz.vity.freerapid.gui.dialogs.AboutDialog.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    infoLabel = new JLabel();
    infoLabel.setName("infoLabel");

    JPanel dialogPane = new JPanel();
    JPanel contentPanel = new JPanel();
    xImagePanel = new JLabel() {
        @Override/*from   ww  w  .  ja v a 2  s.  c om*/
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            synchronized (volleys) {
                for (VolleyExplosion exp : volleys) {
                    exp.paint(g);
                }
            }
        }
    };
    JPanel buttonBar = new JPanel();
    btnOK = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== AboutDialog ========
    {
        this.setName("AboutDialog");
        Container aboutDialogContentPane = this.getContentPane();
        aboutDialogContentPane.setLayout(new BorderLayout());

        //======== dialogPane ========
        {
            dialogPane.setBorder(Borders.DIALOG);
            dialogPane.setName("dialogPane");
            dialogPane.setLayout(new BorderLayout());

            //======== contentPanel ========
            {
                contentPanel.setName("contentPanel");
                //contentPanel.setLayout(new BorderLayout());

                //---- xImagePanel ----
                xImagePanel.setName("xImagePanel");
                contentPanel.add(xImagePanel, BorderLayout.CENTER);
                contentPanel.add(infoLabel);
            }
            dialogPane.add(contentPanel, BorderLayout.CENTER);

            //======== buttonBar ========
            {
                buttonBar.setBorder(Borders.BUTTON_BAR_PAD);
                buttonBar.setName("buttonBar");

                //---- btnOK ----
                btnOK.setName("btnOK");

                PanelBuilder buttonBarBuilder = new PanelBuilder(
                        new FormLayout("default:grow, max(pref;42dlu), default:grow", "pref"), buttonBar);

                buttonBarBuilder.add(btnOK, cc.xy(2, 1));
            }
            dialogPane.add(buttonBar, BorderLayout.SOUTH);
        }
        aboutDialogContentPane.add(dialogPane, BorderLayout.CENTER);
    }
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:cz.vity.freerapid.gui.dialogs.DownloadHistoryDialog.java

@SuppressWarnings({ "deprecation" })
private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    //ResourceBundle bundle = ResourceBundle.getBundle("DownloadHistoryDialog");
    JPanel dialogPane = new JPanel();
    JPanel contentPanel = new JPanel();
    JPanel panel1 = new JPanel();
    combobox = new JComboBox();
    JLabel labelFilter = new JLabel();
    fieldFilter = new JTextField();
    JScrollPane scrollPane2 = new JScrollPane();
    table = new JXTable();
    JXButtonPanel buttonBar = new JXButtonPanel();
    clearHistoryBtn = new JButton();
    okButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {/*from www .j a  v  a 2s  . com*/
        dialogPane.setBorder(Borders.DIALOG);
        dialogPane.setLayout(new BorderLayout());

        //======== contentPanel ========
        {

            //======== panel1 ========
            {
                panel1.setBorder(new TitledBorder(""));

                //---- labelFilter ----
                labelFilter.setName("labelFilter");
                labelFilter.setLabelFor(fieldFilter);

                PanelBuilder panel1Builder = new PanelBuilder(new FormLayout(
                        new ColumnSpec[] { ColumnSpec.decode("max(pref;80dlu)"),
                                FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC,
                                FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(100)),
                                FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                        RowSpec.decodeSpecs("default")), panel1);

                panel1Builder.add(combobox, cc.xy(1, 1));
                panel1Builder.add(labelFilter, cc.xy(3, 1));
                panel1Builder.add(fieldFilter, cc.xy(5, 1));
            }

            //======== scrollPane2 ========
            {
                scrollPane2.setViewportView(table);
            }

            PanelBuilder contentPanelBuilder = new PanelBuilder(
                    new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                            new RowSpec[] { FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }),
                    contentPanel);

            contentPanelBuilder.add(panel1, cc.xy(1, 1));
            contentPanelBuilder.add(scrollPane2, cc.xy(1, 3));
        }
        dialogPane.add(contentPanel, BorderLayout.CENTER);

        //======== buttonBar ========
        {
            buttonBar.setBorder(new EmptyBorder(12, 0, 0, 0));

            //---- clearHistoryBtn ----
            clearHistoryBtn.setName("clearHistoryBtn");

            //---- okButton ----
            okButton.setName("okButton");

            PanelBuilder buttonBarBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormSpecs.UNRELATED_GAP_COLSPEC, ColumnSpec.decode("max(pref;55dlu)") },
                    RowSpec.decodeSpecs("fill:pref")), buttonBar);

            buttonBarBuilder.add(clearHistoryBtn, cc.xy(1, 1));
            buttonBarBuilder.add(okButton, cc.xy(5, 1));
        }
        dialogPane.add(buttonBar, BorderLayout.SOUTH);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
}

From source file:cz.vity.freerapid.gui.dialogs.MultipleSettingsDialog.java

@SuppressWarnings({ "deprecation" })
private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    //ResourceBundle bundle = ResourceBundle.getBundle("MultipleSettingsDialog");
    JPanel dialogPane = new JPanel();
    JPanel contentPanel = new JPanel();
    JLabel iconLabel = new JLabel();
    titleLabel = new JLabel();
    JLabel labelSize = new JLabel();
    fieldSize = new JTextField();
    JLabel labelDescription = new JLabel();
    JScrollPane scrollPane1 = new JScrollPane();
    descriptionArea = ComponentFactory.getTextArea();
    JPanel optionsPanel = new JPanel();
    JLabel saveToLabel = new JLabel();
    comboPath = new JComboBox();
    btnSelectPath = new JButton();
    JXButtonPanel buttonBar = new JXButtonPanel();
    okButton = new JButton();
    cancelButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {/*from www .  j  a  va  2 s .c o m*/
        dialogPane.setBorder(Borders.DIALOG);
        dialogPane.setLayout(new BorderLayout());

        //======== contentPanel ========
        {

            //---- iconLabel ----
            iconLabel.setName("iconLabel");

            //---- titleLabel ----
            titleLabel.setName("titleLabel");
            titleLabel.setFont(new Font("Tahoma", Font.BOLD, 12));

            //---- labelSize ----
            labelSize.setName("labelSize");

            //---- fieldSize ----
            fieldSize.setBorder(null);
            fieldSize.setOpaque(false);
            fieldSize.setEditable(false);

            //---- labelDescription ----
            labelDescription.setName("labelDescription");

            //======== scrollPane1 ========
            {
                scrollPane1.setViewportView(descriptionArea);
            }

            //======== optionsPanel ========
            {

                //---- saveToLabel ----
                saveToLabel.setName("saveToLabel");
                saveToLabel.setLabelFor(comboPath);

                //---- comboPath ----
                comboPath.setEditable(true);

                //---- btnSelectPath ----
                btnSelectPath.setName("btnSelectPath");

                PanelBuilder optionsPanelBuilder = new PanelBuilder(new FormLayout(
                        new ColumnSpec[] { FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC },
                        RowSpec.decodeSpecs("default")), optionsPanel);

                optionsPanelBuilder.add(saveToLabel, cc.xy(1, 1));
                optionsPanelBuilder.add(comboPath, cc.xy(3, 1));
                optionsPanelBuilder.add(btnSelectPath, cc.xy(5, 1));
            }

            PanelBuilder contentPanelBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { new ColumnSpec(Sizes.dluX(49)), FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                            FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, ColumnSpec.decode("max(min;70dlu)") },
                    new RowSpec[] { FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                            FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.TOP, Sizes.PREFERRED, FormSpec.NO_GROW),
                            FormSpecs.RELATED_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC,
                            FormSpecs.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL,
                                    Sizes.bounded(Sizes.PREFERRED, Sizes.dluY(40), Sizes.dluY(50)),
                                    FormSpec.DEFAULT_GROW),
                            FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC }),
                    contentPanel);

            contentPanelBuilder.add(iconLabel,
                    cc.xywh(1, 1, 1, 5, CellConstraints.DEFAULT, CellConstraints.FILL));
            contentPanelBuilder.add(titleLabel, cc.xywh(3, 1, 5, 1));
            contentPanelBuilder.add(labelSize, cc.xy(3, 3));
            contentPanelBuilder.add(fieldSize, cc.xywh(5, 3, 3, 1));
            contentPanelBuilder.add(labelDescription, cc.xy(1, 7));
            contentPanelBuilder.add(scrollPane1, cc.xywh(1, 9, 7, 1));
            contentPanelBuilder.add(optionsPanel, cc.xywh(1, 11, 7, 1));
        }
        dialogPane.add(contentPanel, BorderLayout.CENTER);

        //======== buttonBar ========
        {
            buttonBar.setBorder(new EmptyBorder(12, 0, 0, 0));

            //---- okButton ----
            okButton.setName("okButton");

            //---- cancelButton ----
            cancelButton.setName("cancelButton");

            PanelBuilder buttonBarBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormSpecs.UNRELATED_GAP_COLSPEC, ColumnSpec.decode("max(pref;42dlu)"),
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC },
                    RowSpec.decodeSpecs("fill:pref")), buttonBar);
            ((FormLayout) buttonBar.getLayout()).setColumnGroups(new int[][] { { 3, 5 } });

            buttonBarBuilder.add(okButton, cc.xy(3, 1));
            buttonBarBuilder.add(cancelButton, cc.xy(5, 1));
        }
        dialogPane.add(buttonBar, BorderLayout.SOUTH);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
}

From source file:cz.vity.freerapid.gui.dialogs.NewLinksDialog.java

@SuppressWarnings({ "deprecation" })
private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    //ResourceBundle bundle = ResourceBundle.getBundle("NewLinksDialog");
    JPanel dialogPane = new JPanel();
    JPanel contentPanel = new JPanel();
    JLabel labelLinks = new JLabel();
    JScrollPane scrollPane1 = new JScrollPane();
    urlsArea = ComponentFactory.getURLsEditorPane();
    JLabel labelSaveTo = new JLabel();
    comboPath = new JComboBox();
    btnSelectPath = new JButton();
    JLabel labelDescription = new JLabel();
    JScrollPane scrollPane2 = new JScrollPane();
    descriptionArea = ComponentFactory.getTextArea();
    JXButtonPanel buttonBar = new JXButtonPanel();
    btnPasteFromClipboard = new JButton();
    okButton = new JButton();
    btnStartPaused = new JButton();
    cancelButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {//from  ww  w . j a va  2s . c om
        dialogPane.setBorder(Borders.DIALOG);
        dialogPane.setLayout(new BorderLayout());

        //======== contentPanel ========
        {

            //---- labelLinks ----
            labelLinks.setName("labelLinks");
            labelLinks.setLabelFor(urlsArea);

            //======== scrollPane1 ========
            {
                scrollPane1.setViewportView(urlsArea);
            }

            //---- labelSaveTo ----
            labelSaveTo.setName("labelSaveTo");
            labelSaveTo.setLabelFor(comboPath);

            //---- comboPath ----
            comboPath.setEditable(true);

            //---- btnSelectPath ----
            btnSelectPath.setName("btnSelectPath");

            //---- labelDescription ----
            labelDescription.setName("labelDescription");
            labelDescription.setLabelFor(descriptionArea);

            //======== scrollPane2 ========
            {
                scrollPane2.setViewportView(descriptionArea);
            }

            PanelBuilder contentPanelBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.PREFERRED, FormSpec.DEFAULT_GROW),
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.MIN_COLSPEC },
                    new RowSpec[] { FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.PREFERRED, FormSpec.DEFAULT_GROW),
                            FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL,
                                    Sizes.bounded(Sizes.PREFERRED, Sizes.dluY(40), Sizes.dluY(55)),
                                    FormSpec.DEFAULT_GROW) }),
                    contentPanel);

            contentPanelBuilder.add(labelLinks, cc.xy(1, 1));
            contentPanelBuilder.add(scrollPane1, cc.xywh(1, 3, 5, 1));
            contentPanelBuilder.add(labelSaveTo, cc.xy(1, 5));
            contentPanelBuilder.add(comboPath, cc.xy(3, 5));
            contentPanelBuilder.add(btnSelectPath, cc.xy(5, 5));
            contentPanelBuilder.add(labelDescription, cc.xy(1, 7));
            contentPanelBuilder.add(scrollPane2, cc.xywh(3, 7, 3, 1));
        }
        dialogPane.add(contentPanel, BorderLayout.CENTER);

        //======== buttonBar ========
        {
            buttonBar.setBorder(new EmptyBorder(12, 0, 0, 0));

            //---- btnPasteFromClipboard ----
            btnPasteFromClipboard.setName("btnPasteFromClipboard");

            //---- okButton ----
            okButton.setName("okButton");

            //---- btnStartPaused ----
            btnStartPaused.setName("btnStartPaused");

            //---- cancelButton ----
            cancelButton.setName("cancelButton");

            PanelBuilder buttonBarBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { FormSpecs.PREF_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormSpecs.UNRELATED_GAP_COLSPEC, FormSpecs.PREF_COLSPEC,
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, ColumnSpec.decode("max(pref;50dlu)"),
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, ColumnSpec.decode("max(pref;50dlu)"), },
                    RowSpec.decodeSpecs("fill:pref")), buttonBar);
            ((FormLayout) buttonBar.getLayout()).setColumnGroups(new int[][] { { 5, 9 } });

            buttonBarBuilder.add(btnPasteFromClipboard, cc.xy(1, 1));
            buttonBarBuilder.add(okButton, cc.xy(5, 1));
            buttonBarBuilder.add(btnStartPaused, cc.xy(7, 1));
            buttonBarBuilder.add(cancelButton, cc.xy(9, 1));
        }
        dialogPane.add(buttonBar, BorderLayout.SOUTH);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
}

From source file:cz.vity.freerapid.gui.dialogs.SubmitErrorDialog.java

@SuppressWarnings({ "deprecation" })
private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    JPanel dialogPane = new JPanel();
    JPanel contentPanel = new JPanel();
    JLabel labelName = new JLabel();
    fieldName = ComponentFactory.getTextField();
    JLabel labelEmail = new JLabel();
    fieldEmail = ComponentFactory.getTextField();
    JLabel labelComment = new JLabel();
    JScrollPane scrollPane1 = new JScrollPane();
    commentTextArea = ComponentFactory.getTextArea();
    JLabel labelDescribeInfo = new JLabel();
    JPanel buttonBar = new JPanel();
    btnConnection = new JButton();
    btnOk = new JButton();
    btnCancel = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========

    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {//from w w  w  . java2 s  . c  om
        dialogPane.setBorder(Borders.DIALOG);
        dialogPane.setName("dialogPane");
        dialogPane.setLayout(new BorderLayout());

        //======== contentPanel ========
        {
            contentPanel.setName("contentPanel");

            //---- labelName ----
            labelName.setLabelFor(fieldName);
            labelName.setName("labelName");

            //---- fieldName ----
            fieldName.setColumns(15);
            fieldName.setName("fieldName");

            //---- labelEmail ----
            labelEmail.setLabelFor(fieldEmail);
            labelEmail.setName("labelEmail");

            //---- fieldEmail ----
            fieldEmail.setColumns(15);
            fieldEmail.setName("fieldEmail");

            //---- labelComment ----
            labelComment.setLabelFor(commentTextArea);
            labelComment.setName("labelComment");

            //======== scrollPane1 ========
            {
                scrollPane1.setName("scrollPane1");

                //---- commentTextArea ----
                commentTextArea.setRows(10);
                commentTextArea.setLineWrap(true);
                commentTextArea.setName("commentTextArea");
                scrollPane1.setViewportView(commentTextArea);
            }

            //---- labelDescribeInfo ----
            labelDescribeInfo.setName("labelDescribeInfo");

            PanelBuilder contentPanelBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC,
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC },
                    new RowSpec[] { FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC }),
                    contentPanel);

            contentPanelBuilder.add(labelName, cc.xy(1, 1));
            contentPanelBuilder.add(fieldName, cc.xy(3, 1));
            contentPanelBuilder.add(labelEmail, cc.xy(5, 1));
            contentPanelBuilder.add(fieldEmail, cc.xy(7, 1));
            contentPanelBuilder.add(labelComment,
                    cc.xywh(1, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));
            contentPanelBuilder.add(scrollPane1, cc.xywh(3, 3, 5, 1));
            contentPanelBuilder.add(labelDescribeInfo, cc.xywh(3, 5, 5, 1));
        }
        dialogPane.add(contentPanel, BorderLayout.CENTER);

        //======== buttonBar ========
        {
            buttonBar.setBorder(Borders.BUTTON_BAR_PAD);
            buttonBar.setName("buttonBar");

            //---- button1 ----
            btnConnection.setName("btnConnection");

            //---- okButton ----
            btnOk.setName("okButton");

            //---- cancelButton ----

            btnCancel.setName("cancelButton");

            PanelBuilder buttonBarBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC,
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, ColumnSpec.decode("max(min;10dlu):grow"),
                            FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.BUTTON_COLSPEC,
                            FormSpecs.RELATED_GAP_COLSPEC, ComponentFactory.BUTTON_COLSPEC },
                    RowSpec.decodeSpecs("pref")), buttonBar);

            buttonBarBuilder.add(btnConnection,
                    cc.xywh(2, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
            buttonBarBuilder.add(btnOk, cc.xy(6, 1));
            buttonBarBuilder.add(btnCancel, cc.xy(8, 1));
        }
        dialogPane.add(buttonBar, BorderLayout.SOUTH);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:cz.vity.freerapid.gui.dialogs.UpdateDialog.java

@SuppressWarnings({ "deprecation" })
private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    //ResourceBundle bundle = ResourceBundle.getBundle("UpdateDialog");
    JPanel dialogPane = new JPanel();
    JPanel contentPanel = new JPanel();
    JScrollPane scrollPane1 = new JScrollPane();
    table = new JXTable();
    JPanel topPanel = new JPanel();
    JLabel labelUpdateServer = new JLabel();
    labelServer = new JLabel();
    labelUpdatesCount = new JLabel();
    popmenuButton = ComponentFactory.getPopdownButton();
    popmenuButton.setName("popmenuButton");

    JXButtonPanel buttonBar = new JXButtonPanel();
    btnOK = new JButton();
    btnCancel = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {//from   w w w .  j a  v a 2s  .c  om
        dialogPane.setBorder(new EmptyBorder(12, 12, 12, 12));
        dialogPane.setLayout(new BorderLayout());

        //======== contentPanel ========
        {
            contentPanel.setLayout(new BorderLayout(4, 4));

            //======== scrollPane1 ========
            {
                scrollPane1.setViewportView(table);
            }
            contentPanel.add(scrollPane1, BorderLayout.CENTER);

            //======== topPanel ========
            {

                //---- labelUpdateServer ----
                labelUpdateServer.setName("labelUpdateServer");

                //---- server ----
                labelServer.setName("server");

                //---- labelUpdatesCount ----
                labelUpdatesCount.setName("labelUpdatesCount");

                PanelBuilder topPanelBuilder = new PanelBuilder(new FormLayout(
                        new ColumnSpec[] { FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                                FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC },
                        RowSpec.decodeSpecs("default")), topPanel);

                topPanelBuilder.add(labelUpdateServer, cc.xy(1, 1));
                topPanelBuilder.add(labelServer, cc.xy(3, 1));
                topPanelBuilder.add(labelUpdatesCount, cc.xy(7, 1));
            }
            contentPanel.add(topPanel, BorderLayout.NORTH);
        }
        dialogPane.add(contentPanel, BorderLayout.CENTER);

        //======== buttonBar ========
        {
            buttonBar.setBorder(Borders.BUTTON_BAR_PAD);
            buttonBar.setCyclic(true);

            //---- btnOK ----
            btnOK.setName("btnOK");

            //---- btnCancel ----
            btnCancel.setName("btnCancel");

            PanelBuilder buttonBarBuilder = new PanelBuilder(new FormLayout(
                    new ColumnSpec[] { FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC,
                            FormSpecs.GLUE_COLSPEC, ColumnSpec.decode("max(pref;42dlu)"),
                            FormSpecs.RELATED_GAP_COLSPEC, FormSpecs.PREF_COLSPEC },
                    RowSpec.decodeSpecs("pref")), buttonBar);
            ((FormLayout) buttonBar.getLayout()).setColumnGroups(new int[][] { { 2, 4, 6 } });

            buttonBarBuilder.add(popmenuButton, cc.xy(2, 1));
            buttonBarBuilder.add(btnOK, cc.xy(4, 1));
            buttonBarBuilder.add(btnCancel, cc.xy(6, 1));
        }
        dialogPane.add(buttonBar, BorderLayout.SOUTH);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
}

From source file:cz.vity.freerapid.gui.dialogs.userprefs.PluginDetailPanel.java

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner Open Source Project license - unknown
    //ResourceBundle bundle = ResourceBundle.getBundle("PluginDetails");
    titleSeparator = new JXTitledSeparator();
    JLabel labelVersion = new JLabel();
    versionLabel = new JLabel();
    JLabel labelAuthor = new JLabel();
    authorLabel = new JLabel();
    JLabel labelServices = new JLabel();
    servicesLabel = new JLabel();
    checkboxPluginIsActive = new JCheckBox();
    checkboxUpdatePlugins = new JCheckBox();
    checkboxClipboardMonitoring = new JCheckBox();
    JLabel labelMaxConnections = new JLabel();
    labelMaxConnections.setPreferredSize(new Dimension(80, 20));
    labelMaxConnections.setMinimumSize(new Dimension(80, 20));
    spinnerMaxPluginConnections = new JSpinner();
    JLabel labelPriority = new JLabel();
    spinnerPluginPriority = new JSpinner();
    btnPriorityUp = new JButton();
    btnPriorityDown = new JButton();
    pluginHyperlink = new JXHyperlink();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBorder(new EmptyBorder(3, 3, 0, 2));

    //---- titleSeparator ----
    titleSeparator.setTitle(" ");

    //---- labelVersion ----
    labelVersion.setName("labelVersion");

    //---- versionLabel ----
    versionLabel.setName("versionLabel");

    //---- labelAuthor ----
    labelAuthor.setName("labelAuthor");

    //---- authorLabel ----
    authorLabel.setName("authorLabel");

    //---- labelServices ----
    labelServices.setName("labelServices");

    //---- servicesLabel ----
    servicesLabel.setName("servicesLabel");

    //---- checkboxPluginIsActive ----
    checkboxPluginIsActive.setName("checkboxPluginIsActive");

    //---- checkboxUpdatePlugins ----
    checkboxUpdatePlugins.setName("checkboxUpdatePlugins");

    //---- checkboxClipboardMonitoring ----
    checkboxClipboardMonitoring.setName("checkboxClipboardMonitoring");

    //---- labelMaxConnections ----
    labelMaxConnections.setName("labelMaxConnections");
    labelMaxConnections.setPreferredSize(new Dimension(180, 14));

    //---- spinnerMaxPluginConnections ----
    spinnerMaxPluginConnections.setModel(new SpinnerNumberModel(1, 1, null, 1));

    //---- labelPriority ----
    labelPriority.setName("labelPriority");

    //---- spinnerPluginPriority ----
    spinnerPluginPriority.setModel(new SpinnerNumberModel(1, 1, 1000, 1));

    //---- btnPriorityUp ----
    btnPriorityUp.setName("btnPriorityUp");

    //---- btnPriorityDown ----
    btnPriorityDown.setName("btnPriorityDown");

    //---- pluginHyperlink ----
    pluginHyperlink.setName("pluginHyperlink");

    PanelBuilder builder = new PanelBuilder(new FormLayout(
            new ColumnSpec[] { FormSpecs.PREF_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                    ColumnSpec.decode("max(pref;30dlu)"), FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                    FormSpecs.DEFAULT_COLSPEC, FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC,
                    FormSpecs.LABEL_COMPONENT_GAP_COLSPEC, FormSpecs.DEFAULT_COLSPEC,
                    FormSpecs.LABEL_COMPONENT_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.MINIMUM, FormSpec.DEFAULT_GROW) },
            new RowSpec[] { FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC,
                    FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                    FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC,
                    FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                    FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC,
                    FormSpecs.LINE_GAP_ROWSPEC, FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                    FormSpecs.DEFAULT_ROWSPEC, FormSpecs.LINE_GAP_ROWSPEC,
                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }),
            this);
    ((FormLayout) getLayout()).setColumnGroups(new int[][] { { 7, 9 } });

    builder.add(titleSeparator, cc.xywh(1, 1, 11, 1));
    builder.add(labelVersion, cc.xy(1, 3));
    builder.add(versionLabel, cc.xywh(3, 3, 9, 1));
    builder.add(labelAuthor, cc.xy(1, 5));
    builder.add(authorLabel, cc.xywh(3, 5, 9, 1));
    builder.add(labelServices, cc.xy(1, 7));
    builder.add(servicesLabel, cc.xywh(3, 7, 7, 1));
    builder.add(checkboxPluginIsActive, cc.xywh(1, 9, 11, 1));
    builder.add(checkboxUpdatePlugins, cc.xywh(1, 11, 11, 1));
    builder.add(checkboxClipboardMonitoring, cc.xywh(1, 13, 11, 1));
    builder.add(labelMaxConnections, cc.xywh(1, 15, 3, 1));
    builder.add(spinnerMaxPluginConnections, cc.xy(5, 15));
    builder.add(labelPriority, cc.xywh(1, 17, 3, 1));
    builder.add(spinnerPluginPriority, cc.xy(5, 17));
    builder.add(btnPriorityUp, cc.xy(7, 17));
    builder.add(btnPriorityDown, cc.xy(9, 17));
    builder.add(pluginHyperlink, cc.xywh(1, 19, 9, 1));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}