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

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

Introduction

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

Prototype

Alignment FILL

To view the source code for com.jgoodies.forms.layout CellConstraints FILL.

Click Source Link

Document

Fill the cell either horizontally or vertically.

Usage

From source file:org.archiviststoolkit.editor.rde.RdeAnalogInstance.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    separator6 = new JSeparator();
    panel12 = new JPanel();
    label_instanceType = new JLabel();
    instanceType = new JComboBox();
    panel7 = new JPanel();
    label_container1Type = new JLabel();
    container1Type = ATBasicComponentFactory.createUnboundComboBox(LookupListUtils.getLookupListValues(
            ArchDescriptionAnalogInstances.class, ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER1_TYPE));
    label_container1Indicator = new JLabel();
    container1Indicator = new JTextField();
    panel8 = new JPanel();
    label_container2Type = new JLabel();
    container2Type = ATBasicComponentFactory.createUnboundComboBox(LookupListUtils.getLookupListValues(
            ArchDescriptionAnalogInstances.class, ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER2_TYPE));
    label_container2Indicator = new JLabel();
    container2Indicator = new JTextField();
    panel9 = new JPanel();
    label_container3Type = new JLabel();
    container3Type = ATBasicComponentFactory.createUnboundComboBox(LookupListUtils.getLookupListValues(
            ArchDescriptionAnalogInstances.class, ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER3_TYPE));
    label_container3Indicator = new JLabel();
    container3Indicator = new JTextField();
    panel14 = new JPanel();
    label_barcode = new JLabel();
    barcode = new JTextField();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

    //---- separator6 ----
    separator6.setBackground(new Color(220, 220, 232));
    separator6.setForeground(new Color(147, 131, 86));
    separator6.setMinimumSize(new Dimension(1, 10));
    separator6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    add(separator6, cc.xy(1, 1));//from  w ww .  jav a2s .  co  m

    //======== panel12 ========
    {
        panel12.setOpaque(false);
        panel12.setLayout(new FormLayout(new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                RowSpec.decodeSpecs("default")));

        //---- label_instanceType ----
        label_instanceType.setText("Instance Type");
        label_instanceType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_instanceType.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_instanceTypeMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_instanceType, ArchDescriptionInstances.class,
                ArchDescriptionInstances.PROPERTYNAME_INSTANCE_TYPE);
        panel12.add(label_instanceType, cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

        //---- instanceType ----
        instanceType.setOpaque(false);
        instanceType.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel12.add(instanceType, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
    }
    add(panel12, cc.xy(1, 3));

    //======== panel7 ========
    {
        panel7.setOpaque(false);
        panel7.setPreferredSize(new Dimension(900, 27));
        panel7.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                RowSpec.decodeSpecs("default")));

        //---- label_container1Type ----
        label_container1Type.setText("Container 1 Type");
        label_container1Type.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_container1Type.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_container1TypeMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_container1Type, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER1_TYPE);
        panel7.add(label_container1Type, cc.xy(1, 1));

        //---- container1Type ----
        container1Type.setOpaque(false);
        container1Type.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel7.add(container1Type, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

        //---- label_container1Indicator ----
        label_container1Indicator.setText("Container 1 Indicator");
        label_container1Indicator.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_container1Indicator.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_container1AlphaMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_container1Indicator, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER1_INDICATOR);
        panel7.add(label_container1Indicator, cc.xy(5, 1));

        //---- container1Indicator ----
        container1Indicator.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel7.add(container1Indicator, cc.xywh(7, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    }
    add(panel7, cc.xywh(1, 5, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

    //======== panel8 ========
    {
        panel8.setOpaque(false);
        panel8.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                RowSpec.decodeSpecs("default")));

        //---- label_container2Type ----
        label_container2Type.setText("Container 2 Type");
        label_container2Type.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_container2Type.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_container2TypeMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_container2Type, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER2_TYPE);
        panel8.add(label_container2Type, cc.xy(1, 1));

        //---- container2Type ----
        container2Type.setOpaque(false);
        container2Type.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel8.add(container2Type, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

        //---- label_container2Indicator ----
        label_container2Indicator.setText("Container 2 Indicator");
        label_container2Indicator.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_container2Indicator.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_container2AlphaMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_container2Indicator, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER2_INDICATOR);
        panel8.add(label_container2Indicator, cc.xy(5, 1));

        //---- container2Indicator ----
        container2Indicator.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel8.add(container2Indicator, cc.xywh(7, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    }
    add(panel8, cc.xy(1, 7));

    //======== panel9 ========
    {
        panel9.setOpaque(false);
        panel9.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                RowSpec.decodeSpecs("default")));

        //---- label_container3Type ----
        label_container3Type.setText("Container 3 Type");
        label_container3Type.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_container3Type.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_container3TypeMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_container3Type, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER3_TYPE);
        panel9.add(label_container3Type, cc.xy(1, 1));

        //---- container3Type ----
        container3Type.setOpaque(false);
        container3Type.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel9.add(container3Type, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

        //---- label_container3Indicator ----
        label_container3Indicator.setText("Container 3 Indicator");
        label_container3Indicator.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_container3Indicator.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_container3AlphaMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_container3Indicator, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_CONTAINER3_INDICATOR);
        panel9.add(label_container3Indicator, cc.xy(5, 1));

        //---- container3Indicator ----
        container3Indicator.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel9.add(container3Indicator, cc.xywh(7, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    }
    add(panel9, cc.xy(1, 9));

    //======== panel14 ========
    {
        panel14.setOpaque(false);
        panel14.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                RowSpec.decodeSpecs("default")));

        //---- label_barcode ----
        label_barcode.setText("Barcode");
        label_barcode.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_barcode.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_barcodeMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_barcode, ArchDescriptionAnalogInstances.class,
                ArchDescriptionAnalogInstances.PROPERTYNAME_BARCODE);
        panel14.add(label_barcode, cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

        //---- barcode ----
        barcode.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel14.add(barcode, cc.xywh(3, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    }
    add(panel14, cc.xy(1, 11));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.rde.RdeDigitalInstance.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    separator6 = new JSeparator();
    label1 = new JLabel();
    panel2 = new JPanel();
    label_type = new JLabel();
    objectType = ATBasicComponentFactory.createUnboundComboBox(
            LookupListUtils.getLookupListValues(DigitalObjects.class, DigitalObjects.PROPERTYNAME_OBJECT_TYPE));
    label2 = new JLabel();
    digitalObjectID = new JTextField();
    panel14 = new JPanel();
    label_title = new JLabel();
    scrollPane1 = new JScrollPane();
    title = ATBasicComponentFactory.createUnboundedTextArea();
    label_DateExpression = new JLabel();
    dateExpression = new JTextField();
    panel1 = new JPanel();
    label = new JLabel();
    label_yearBegin = new JLabel();
    yearBegin = ATBasicComponentFactory.createUnboundIntegerField(false);
    label_yearEnd = new JLabel();
    yearEnd = ATBasicComponentFactory.createUnboundIntegerField(false);
    fileVersion1 = new JPanel();
    label_fileVersion1 = new JLabel();
    panel4 = new JPanel();
    label_uri1 = new JLabel();
    uri1 = new JTextField();
    label_useStatement1 = new JLabel();
    useStatement1 = ATBasicComponentFactory.createUnboundComboBox(LookupListUtils
            .getLookupListValues(FileVersions.class, FileVersions.PROPERTYNAME_FILE_VERSIONS_USE_STATEMENT));
    panel5 = new JPanel();
    label_actuate1 = new JLabel();
    actuate1 = ATBasicComponentFactory.createUnboundComboBox(
            LookupListUtils.getLookupListValues(FileVersions.class, FileVersions.PROPERTYNAME_EAD_DAO_ACTUATE));
    label_show1 = new JLabel();
    show1 = ATBasicComponentFactory.createUnboundComboBox(
            LookupListUtils.getLookupListValues(FileVersions.class, FileVersions.PROPERTYNAME_EAD_DAO_SHOW));
    fileVersion2 = new JPanel();
    label_fileVersion2 = new JLabel();
    panel6 = new JPanel();
    label_uri2 = new JLabel();
    uri2 = new JTextField();
    label_useStatement2 = new JLabel();
    useStatement2 = ATBasicComponentFactory.createUnboundComboBox(LookupListUtils
            .getLookupListValues(FileVersions.class, FileVersions.PROPERTYNAME_FILE_VERSIONS_USE_STATEMENT));
    panel7 = new JPanel();
    label_actuate2 = new JLabel();
    actuate2 = ATBasicComponentFactory.createUnboundComboBox(
            LookupListUtils.getLookupListValues(FileVersions.class, FileVersions.PROPERTYNAME_EAD_DAO_ACTUATE));
    label_show2 = new JLabel();
    show2 = ATBasicComponentFactory.createUnboundComboBox(
            LookupListUtils.getLookupListValues(FileVersions.class, FileVersions.PROPERTYNAME_EAD_DAO_SHOW));
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

    //---- separator6 ----
    separator6.setBackground(new Color(220, 220, 232));
    separator6.setForeground(new Color(147, 131, 86));
    separator6.setMinimumSize(new Dimension(1, 10));
    separator6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    add(separator6, cc.xywh(1, 1, 2, 1));

    //---- label1 ----
    label1.setText("Digital Instance");
    add(label1, cc.xywh(1, 3, 2, 1));/*w w  w  . j a  va  2 s.  co  m*/

    //======== panel2 ========
    {
        panel2.setBackground(new Color(200, 205, 232));
        panel2.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                RowSpec.decodeSpecs("default")));

        //---- label_type ----
        label_type.setText("Object Type");
        label_type.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_typeMouseClicked(e);
            }
        });
        panel2.add(label_type, cc.xy(1, 1));

        //---- objectType ----
        objectType.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel2.add(objectType, cc.xy(3, 1));

        //---- label2 ----
        label2.setText("Digital Object ID");
        panel2.add(label2, cc.xy(5, 1));
        panel2.add(digitalObjectID, cc.xy(7, 1));
    }
    add(panel2, cc.xy(2, 5));

    //======== panel14 ========
    {
        panel14.setOpaque(false);
        panel14.setBackground(new Color(238, 238, 238));
        panel14.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                new RowSpec[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW),
                        FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                        FormFactory.DEFAULT_ROWSPEC }));

        //---- label_title ----
        label_title.setText("Title");
        label_title.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_title.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_titleMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_title, DigitalObjects.class, DigitalObjects.PROPERTYNAME_TITLE);
        panel14.add(label_title, cc.xy(1, 1));

        //======== scrollPane1 ========
        {

            //---- title ----
            title.setRows(4);
            title.setWrapStyleWord(true);
            title.setLineWrap(true);
            title.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    componentFocusGained(e);
                }
            });
            scrollPane1.setViewportView(title);
        }
        panel14.add(scrollPane1, cc.xy(3, 1));

        //---- label_DateExpression ----
        label_DateExpression.setText("Date Expression");
        label_DateExpression.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label_DateExpression.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                label_dateExpressionMouseClicked(e);
            }
        });
        ATFieldInfo.assignLabelInfo(label_DateExpression, DigitalObjects.class,
                DigitalObjects.PROPERTYNAME_DATE_EXPRESSION);
        panel14.add(label_DateExpression, cc.xy(1, 3));

        //---- dateExpression ----
        dateExpression.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                componentFocusGained(e);
            }
        });
        panel14.add(dateExpression, cc.xywh(3, 3, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

        //======== panel1 ========
        {
            panel1.setOpaque(false);
            panel1.setLayout(
                    new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                            RowSpec.decodeSpecs("default")));

            //---- label ----
            label.setText("Date");
            panel1.add(label, cc.xy(1, 1));

            //---- label_yearBegin ----
            label_yearBegin.setText("Begin");
            label_yearBegin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            label_yearBegin.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    label_yearBeginMouseClicked(e);
                }
            });
            panel1.add(label_yearBegin, cc.xy(3, 1));

            //---- yearBegin ----
            yearBegin.setColumns(5);
            yearBegin.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    yearBeginFocusGained(e);
                }
            });
            panel1.add(yearBegin, cc.xy(5, 1));

            //---- label_yearEnd ----
            label_yearEnd.setText("End");
            label_yearEnd.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            label_yearEnd.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    label_yearEndMouseClicked(e);
                }
            });
            panel1.add(label_yearEnd, cc.xy(7, 1));

            //---- yearEnd ----
            yearEnd.setColumns(5);
            yearEnd.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    yearEndFocusGained(e);
                }
            });
            panel1.add(yearEnd, cc.xy(9, 1));
        }
        panel14.add(panel1, cc.xywh(1, 5, 3, 1));
    }
    add(panel14, cc.xy(2, 7));

    //======== fileVersion1 ========
    {
        fileVersion1.setOpaque(false);
        fileVersion1.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"), new RowSpec[] {
                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

        //---- label_fileVersion1 ----
        label_fileVersion1.setText("File Version 1");
        label_fileVersion1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        fileVersion1.add(label_fileVersion1,
                cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

        //======== panel4 ========
        {
            panel4.setOpaque(false);
            panel4.setLayout(new FormLayout(
                    new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC }));

            //---- label_uri1 ----
            label_uri1.setText("URI");
            label_uri1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            label_uri1.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    label_uri1MouseClicked(e);
                }
            });
            ATFieldInfo.assignLabelInfo(label_uri1, FileVersions.class,
                    FileVersions.PROPERTYNAME_FILE_VERSIONS_URI);
            panel4.add(label_uri1, cc.xy(3, 1));

            //---- uri1 ----
            uri1.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    componentFocusGained(e);
                }
            });
            panel4.add(uri1, cc.xywh(5, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

            //---- label_useStatement1 ----
            label_useStatement1.setText("Use Statement");
            label_useStatement1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            label_useStatement1.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    label_useStatement1MouseClicked(e);
                }
            });
            ATFieldInfo.assignLabelInfo(label_useStatement1, FileVersions.class,
                    FileVersions.PROPERTYNAME_FILE_VERSIONS_USE_STATEMENT);
            panel4.add(label_useStatement1, cc.xy(3, 3));

            //---- useStatement1 ----
            useStatement1.setOpaque(false);
            useStatement1.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    componentFocusGained(e);
                }
            });
            panel4.add(useStatement1, cc.xywh(5, 3, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

            //======== panel5 ========
            {
                panel5.setOpaque(false);
                panel5.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- label_actuate1 ----
                label_actuate1.setText("EAD DAO Actuate");
                label_actuate1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                label_actuate1.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        label_actuate1MouseClicked(e);
                    }
                });
                ATFieldInfo.assignLabelInfo(label_actuate1, FileVersions.class,
                        FileVersions.PROPERTYNAME_EAD_DAO_ACTUATE);
                panel5.add(label_actuate1, cc.xy(1, 1));

                //---- actuate1 ----
                actuate1.setOpaque(false);
                actuate1.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusGained(FocusEvent e) {
                        componentFocusGained(e);
                    }
                });
                panel5.add(actuate1, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_show1 ----
                label_show1.setText("EAD DAO Show");
                label_show1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                label_show1.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        label_show1MouseClicked(e);
                    }
                });
                ATFieldInfo.assignLabelInfo(label_show1, FileVersions.class,
                        FileVersions.PROPERTYNAME_EAD_DAO_SHOW);
                panel5.add(label_show1, cc.xy(5, 1));

                //---- show1 ----
                show1.setOpaque(false);
                show1.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusGained(FocusEvent e) {
                        componentFocusGained(e);
                    }
                });
                panel5.add(show1, cc.xywh(7, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
            }
            panel4.add(panel5, cc.xywh(3, 5, 3, 1));
        }
        fileVersion1.add(panel4, cc.xy(1, 3));
    }
    add(fileVersion1, cc.xy(2, 9));

    //======== fileVersion2 ========
    {
        fileVersion2.setOpaque(false);
        fileVersion2.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"), new RowSpec[] {
                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

        //---- label_fileVersion2 ----
        label_fileVersion2.setText("File Version 2");
        label_fileVersion2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        fileVersion2.add(label_fileVersion2,
                cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

        //======== panel6 ========
        {
            panel6.setOpaque(false);
            panel6.setLayout(new FormLayout(
                    new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC }));

            //---- label_uri2 ----
            label_uri2.setText("URI");
            label_uri2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            label_uri2.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    label_uri2MouseClicked(e);
                }
            });
            ATFieldInfo.assignLabelInfo(label_uri2, FileVersions.class,
                    FileVersions.PROPERTYNAME_FILE_VERSIONS_URI);
            panel6.add(label_uri2, cc.xy(3, 1));

            //---- uri2 ----
            uri2.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    componentFocusGained(e);
                }
            });
            panel6.add(uri2, cc.xywh(5, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

            //---- label_useStatement2 ----
            label_useStatement2.setText("Use Statement");
            label_useStatement2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            label_useStatement2.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    label_useStatement2MouseClicked(e);
                }
            });
            ATFieldInfo.assignLabelInfo(label_useStatement2, FileVersions.class,
                    FileVersions.PROPERTYNAME_FILE_VERSIONS_USE_STATEMENT);
            panel6.add(label_useStatement2, cc.xy(3, 3));

            //---- useStatement2 ----
            useStatement2.setOpaque(false);
            useStatement2.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    componentFocusGained(e);
                }
            });
            panel6.add(useStatement2, cc.xywh(5, 3, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

            //======== panel7 ========
            {
                panel7.setOpaque(false);
                panel7.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- label_actuate2 ----
                label_actuate2.setText("EAD DAO Actuate");
                label_actuate2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                label_actuate2.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        label_actuate2MouseClicked(e);
                    }
                });
                ATFieldInfo.assignLabelInfo(label_actuate2, FileVersions.class,
                        FileVersions.PROPERTYNAME_EAD_DAO_ACTUATE);
                panel7.add(label_actuate2, cc.xy(1, 1));

                //---- actuate2 ----
                actuate2.setOpaque(false);
                actuate2.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusGained(FocusEvent e) {
                        componentFocusGained(e);
                    }
                });
                panel7.add(actuate2, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_show2 ----
                label_show2.setText("EAD DAO Show");
                label_show2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                label_show2.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        label_show2MouseClicked(e);
                    }
                });
                ATFieldInfo.assignLabelInfo(label_show2, FileVersions.class,
                        FileVersions.PROPERTYNAME_EAD_DAO_SHOW);
                panel7.add(label_show2, cc.xy(5, 1));

                //---- show2 ----
                show2.setOpaque(false);
                show2.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusGained(FocusEvent e) {
                        componentFocusGained(e);
                    }
                });
                panel7.add(show2, cc.xywh(7, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
            }
            panel6.add(panel7, cc.xywh(3, 5, 3, 1));
        }
        fileVersion2.add(panel6, cc.xy(1, 3));
    }
    add(fileVersion2, cc.xy(2, 11));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.rde.RdeNoteFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    separator3 = new JSeparator();
    label_Note = new JLabel();
    noteType = ATBasicComponentFactory.createUnboundComboBox(NoteEtcTypesUtils.getNotesOnlyTypesList(true));
    internalOnly = new JCheckBox();
    label_internalOnly = new JLabel();
    scrollPane1 = new JScrollPane();
    note = ATBasicComponentFactory.createUnboundedTextArea();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

    //---- separator3 ----
    separator3.setBackground(new Color(220, 220, 232));
    separator3.setForeground(new Color(147, 131, 86));
    separator3.setMinimumSize(new Dimension(1, 10));
    separator3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    add(separator3, cc.xywh(1, 1, 7, 1));

    //---- label_Note ----
    label_Note.setText("Note");
    label_Note.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    label_Note.addMouseListener(new MouseAdapter() {
        @Override//from  w ww  .j a v  a  2  s. c  om
        public void mouseClicked(MouseEvent e) {
            label_NoteMouseClicked(e);
        }
    });
    add(label_Note, cc.xywh(1, 3, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

    //---- noteType ----
    noteType.setOpaque(false);
    noteType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    noteType.addFocusListener(new FocusAdapter() {
        @Override
        public void focusGained(FocusEvent e) {
            noteTypeFocusGained(e);
        }
    });
    noteType.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            noteTypeActionPerformed(e);
        }
    });
    add(noteType, cc.xywh(3, 3, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

    //---- internalOnly ----
    internalOnly.setBackground(new Color(200, 205, 232));
    add(internalOnly, cc.xy(5, 3));

    //---- label_internalOnly ----
    label_internalOnly.setText("Internal only");
    label_internalOnly.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    label_internalOnly.addMouseListener(new MouseAdapter() {
        @Override
        public void mouseClicked(MouseEvent e) {
            label_internalOnlyMouseClicked(e);
        }
    });
    add(label_internalOnly, cc.xywh(7, 3, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

    //======== scrollPane1 ========
    {

        //---- note ----
        note.setRows(4);
        note.setWrapStyleWord(true);
        note.setLineWrap(true);
        note.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                noteFocusGained(e);
            }
        });
        scrollPane1.setViewportView(note);
    }
    add(scrollPane1, cc.xywh(1, 5, 7, 1));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.rde.RdeTextArea.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    separator3 = new JSeparator();
    label = new JLabel();
    scrollPane1 = new JScrollPane();
    textArea = ATBasicComponentFactory.createUnboundedTextArea();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
            new RowSpec[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW),
                    FormFactory.LINE_GAP_ROWSPEC, new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW) }));

    //---- separator3 ----
    separator3.setBackground(new Color(220, 220, 232));
    separator3.setForeground(new Color(147, 131, 86));
    separator3.setMinimumSize(new Dimension(1, 10));
    separator3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    separator3.setOpaque(true);//  w w  w  .  j a  v a2s  .  c  o m
    add(separator3, cc.xywh(1, 1, 3, 1, CellConstraints.DEFAULT, CellConstraints.CENTER));

    //---- label ----
    label.setText("Label");
    label.addMouseListener(new MouseAdapter() {
        @Override
        public void mouseClicked(MouseEvent e) {
            labelMouseClicked(e);
        }
    });
    add(label, cc.xy(1, 3));

    //======== scrollPane1 ========
    {
        scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);

        //---- textArea ----
        textArea.setRows(4);
        textArea.setLineWrap(true);
        textArea.setWrapStyleWord(true);
        textArea.addFocusListener(new FocusAdapter() {
            @Override
            public void focusGained(FocusEvent e) {
                textAreaFocusGained(e);
            }
        });
        scrollPane1.setViewportView(textArea);
    }
    add(scrollPane1, cc.xywh(3, 3, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.RDEScreenFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    label_RDE_name = new JLabel();
    rdeScreenName = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(RDEScreen.PROPERTYNAME_NAME_RDE_SCREEN_NAME));
    panel1 = new JPanel();
    panel2 = new JPanel();
    label2 = new JLabel();
    label3 = new JLabel();
    scrollPane2 = new JScrollPane();
    options = new JList();
    panel3 = new JPanel();
    addButton = new JButton();
    removeButton = new JButton();
    moveUpButton = new JButton();
    moveDownButton = new JButton();
    scrollPane1 = new JScrollPane();
    rdeScreenPanels = new DomainSortedTable(RDEScreenPanels.class);
    label1 = new JLabel();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBorder(Borders.DLU4_BORDER);/*from w ww . j ava 2 s  . c om*/
    setOpaque(false);
    setPreferredSize(new Dimension(800, 500));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

    //---- label_RDE_name ----
    label_RDE_name.setText("RDE Name");
    label_RDE_name.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label_RDE_name, RDEScreen.class, RDEScreen.PROPERTYNAME_NAME_RDE_SCREEN_NAME);
    add(label_RDE_name, cc.xy(1, 1));
    add(rdeScreenName, cc.xy(3, 1));

    //======== panel1 ========
    {
        panel1.setLayout(new FormLayout(new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                RowSpec.decodeSpecs("")));
    }
    add(panel1, cc.xywh(1, 3, 3, 1));

    //======== panel2 ========
    {
        panel2.setLayout(new FormLayout(
                new ColumnSpec[] { new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                        new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LINE_GAP_ROWSPEC,
                        FormFactory.DEFAULT_ROWSPEC }));
        ((FormLayout) panel2.getLayout()).setColumnGroups(new int[][] { { 1, 5 } });

        //---- label2 ----
        label2.setText("Items to pick from");
        panel2.add(label2, cc.xy(1, 1));

        //---- label3 ----
        label3.setText("Items picked");
        panel2.add(label3, cc.xy(5, 1));

        //======== scrollPane2 ========
        {

            //---- options ----
            options.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            options.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    optionsMouseClicked(e);
                }
            });
            scrollPane2.setViewportView(options);
        }
        panel2.add(scrollPane2, cc.xywh(1, 3, 1, 3, CellConstraints.DEFAULT, CellConstraints.FILL));

        //======== panel3 ========
        {
            panel3.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default"),
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC }));

            //---- addButton ----
            addButton.setText("Add ->");
            addButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    addButtonActionPerformed();
                }
            });
            panel3.add(addButton, cc.xy(1, 1));

            //---- removeButton ----
            removeButton.setText("Remove");
            removeButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    removeButtonActionPerformed();
                }
            });
            panel3.add(removeButton, cc.xy(1, 3));

            //---- moveUpButton ----
            moveUpButton.setText("Move Up");
            moveUpButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    moveUpButtonActionPerformed();
                }
            });
            panel3.add(moveUpButton, cc.xy(1, 5));

            //---- moveDownButton ----
            moveDownButton.setText("Move Down");
            moveDownButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    moveDownButtonActionPerformed();
                }
            });
            panel3.add(moveDownButton, cc.xy(1, 7));
        }
        panel2.add(panel3, cc.xy(3, 3));

        //======== scrollPane1 ========
        {

            //---- rdeScreenPanels ----
            rdeScreenPanels.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    rdeScreenPanelsMouseClicked(e);
                }
            });
            scrollPane1.setViewportView(rdeScreenPanels);
        }
        panel2.add(scrollPane1, cc.xy(5, 3));

        //---- label1 ----
        label1.setText("Double click to set stickiness options");
        panel2.add(label1, cc.xy(5, 5));
    }
    add(panel2, cc.xywh(1, 5, 3, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.RepositoryFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    repositoryName15 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_NAME));
    tabbedPane1 = new JTabbedPane();
    repositoryInfo = new JPanel();
    label1 = new JLabel();
    repositoryName = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_NAME));
    label15 = new JLabel();
    repositoryName16 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_SHORT_NAME));
    label20 = new JLabel();
    repositoryName18 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_INSTITUTION_NAME));
    label2 = new JLabel();
    repositoryName2 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_ADDRESS1));
    label3 = new JLabel();
    repositoryName3 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_ADDRESS2));
    label14 = new JLabel();
    repositoryName14 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_ADDRESS3));
    label4 = new JLabel();
    repositoryName4 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_CITY));
    label5 = new JLabel();
    repositoryName5 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_REGION));
    label6 = new JLabel();
    repositoryName6 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_COUNTRY));
    label7 = new JLabel();
    repositoryName7 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_MAILCODE));
    label8 = new JLabel();
    repositoryName8 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_TELEPHONE));
    label9 = new JLabel();
    repositoryName9 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_FAX));
    label10 = new JLabel();
    repositoryName10 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_EMAIL));
    label11 = new JLabel();
    repositoryName11 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_URL));
    label12 = new JLabel();
    repositoryName12 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_COUNTRY_CODE));
    label13 = new JLabel();
    repositoryName13 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_REPOSITORY_AGENCY_CODE));
    label41 = new JLabel();
    repositoryName19 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_NCES_ID));
    label18 = new JLabel();
    repositoryName17 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Repositories.PROPERTYNAME_BRANDING_DEVICE));
    label19 = new JLabel();
    resourcesLanguageCode = ATBasicComponentFactory.createComboBox(detailsModel,
            Repositories.PROPERTYNAME_DESCRIPTIVE_LANGUAGE, Repositories.class);
    repositoryStatistics = new JPanel();
    scrollPane4 = new JScrollPane();
    statisticsTable = new DomainSortableTable(RepositoryStatistics.class);
    panel2 = new JPanel();
    addStatistics = new JButton();
    removeStatistics = new JButton();
    defaultValues = new JPanel();
    label16 = new JLabel();
    scrollPane1 = new JScrollPane();
    defaultValuesTable = new DomainSortableTable(DefaultValues.class);
    panel1 = new JPanel();
    addDefaultValue = new JButton();
    removeDefaultValue = new JButton();
    separator5 = new JSeparator();
    label17 = new JLabel();
    scrollPane2 = new JScrollPane();
    noteDefaultValuesTable = new DomainSortableTable(RepositoryNotesDefaultValues.class,
            RepositoryNotesDefaultValues.PROPERTYNAME_NOTE_TYPE);
    notes = new JPanel();
    scrollPane3 = new JScrollPane();
    notesTable = new DomainSortedTable(RepositoryNotes.class);
    panel3 = new JPanel();
    addNoteButton = new JButton();
    removeNoteButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
            RowSpec.decodeSpecs("default, fill:default:grow")));

    //---- repositoryName15 ----
    repositoryName15.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    repositoryName15.setEditable(false);
    repositoryName15.setOpaque(false);/*from www. ja v a 2 s  .  c  om*/
    repositoryName15.setBorder(null);
    add(repositoryName15, cc.xy(2, 1));

    //======== tabbedPane1 ========
    {
        tabbedPane1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

        //======== repositoryInfo ========
        {
            repositoryInfo.setBorder(Borders.DLU4_BORDER);
            repositoryInfo.setBackground(new Color(200, 205, 232));
            repositoryInfo.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            repositoryInfo.setLayout(new FormLayout(
                    new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec("max(default;400px):grow") },
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC }));

            //---- label1 ----
            label1.setText("Repository Name");
            label1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label1, Repositories.class, Repositories.PROPERTYNAME_REPOSITORY_NAME);
            repositoryInfo.add(label1, cc.xy(1, 1));
            repositoryInfo.add(repositoryName, cc.xy(3, 1));

            //---- label15 ----
            label15.setText("Short Name");
            label15.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label15, Repositories.class, Repositories.PROPERTYNAME_SHORT_NAME);
            repositoryInfo.add(label15, cc.xy(1, 3));
            repositoryInfo.add(repositoryName16, cc.xy(3, 3));

            //---- label20 ----
            label20.setText("Instution Name");
            label20.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label20, Repositories.class,
                    Repositories.PROPERTYNAME_INSTITUTION_NAME);
            repositoryInfo.add(label20, cc.xy(1, 5));
            repositoryInfo.add(repositoryName18, cc.xy(3, 5));

            //---- label2 ----
            label2.setText("Address");
            label2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label2, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_ADDRESS1);
            repositoryInfo.add(label2, cc.xy(1, 7));
            repositoryInfo.add(repositoryName2, cc.xy(3, 7));

            //---- label3 ----
            label3.setText("Address");
            label3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label3, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_ADDRESS2);
            repositoryInfo.add(label3, cc.xy(1, 9));
            repositoryInfo.add(repositoryName3, cc.xy(3, 9));

            //---- label14 ----
            label14.setText("Address");
            label14.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label14, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_ADDRESS3);
            repositoryInfo.add(label14, cc.xy(1, 11));
            repositoryInfo.add(repositoryName14, cc.xy(3, 11));

            //---- label4 ----
            label4.setText("City");
            label4.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label4, Repositories.class, Repositories.PROPERTYNAME_REPOSITORY_CITY);
            repositoryInfo.add(label4, cc.xy(1, 13));
            repositoryInfo.add(repositoryName4, cc.xy(3, 13));

            //---- label5 ----
            label5.setText("Region");
            label5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label5, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_REGION);
            repositoryInfo.add(label5, cc.xy(1, 15));
            repositoryInfo.add(repositoryName5, cc.xy(3, 15));

            //---- label6 ----
            label6.setText("Country");
            label6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label6, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_COUNTRY);
            repositoryInfo.add(label6, cc.xy(1, 17));
            repositoryInfo.add(repositoryName6, cc.xy(3, 17));

            //---- label7 ----
            label7.setText("Mail Code");
            label7.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label7, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_MAILCODE);
            repositoryInfo.add(label7, cc.xy(1, 19));
            repositoryInfo.add(repositoryName7, cc.xy(3, 19));

            //---- label8 ----
            label8.setText("Telephone");
            label8.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label8, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_TELEPHONE);
            repositoryInfo.add(label8, cc.xy(1, 21));
            repositoryInfo.add(repositoryName8, cc.xy(3, 21));

            //---- label9 ----
            label9.setText("FAX");
            label9.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label9, Repositories.class, Repositories.PROPERTYNAME_REPOSITORY_FAX);
            repositoryInfo.add(label9, cc.xy(1, 23));
            repositoryInfo.add(repositoryName9, cc.xy(3, 23));

            //---- label10 ----
            label10.setText("Email");
            label10.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label10, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_EMAIL);
            repositoryInfo.add(label10, cc.xy(1, 25));
            repositoryInfo.add(repositoryName10, cc.xy(3, 25));

            //---- label11 ----
            label11.setText("URL");
            label11.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label11, Repositories.class, Repositories.PROPERTYNAME_REPOSITORY_URL);
            repositoryInfo.add(label11, cc.xy(1, 27));
            repositoryInfo.add(repositoryName11, cc.xy(3, 27));

            //---- label12 ----
            label12.setText("Country Code");
            label12.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label12, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_COUNTRY_CODE);
            repositoryInfo.add(label12, cc.xy(1, 29));
            repositoryInfo.add(repositoryName12, cc.xy(3, 29));

            //---- label13 ----
            label13.setText("Agency Code");
            label13.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label13, Repositories.class,
                    Repositories.PROPERTYNAME_REPOSITORY_AGENCY_CODE);
            repositoryInfo.add(label13, cc.xy(1, 31));
            repositoryInfo.add(repositoryName13, cc.xy(3, 31));

            //---- label41 ----
            label41.setText("NCES Unit ID");
            label41.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label41, Repositories.class, Repositories.PROPERTYNAME_NCES_ID);
            repositoryInfo.add(label41, cc.xy(1, 33));

            //---- repositoryName19 ----
            repositoryName19.setColumns(20);
            repositoryInfo.add(repositoryName19,
                    cc.xywh(3, 33, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

            //---- label18 ----
            label18.setText("Branding Device");
            label18.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label18, Repositories.class, Repositories.PROPERTYNAME_BRANDING_DEVICE);
            repositoryInfo.add(label18, cc.xy(1, 35));
            repositoryInfo.add(repositoryName17, cc.xy(3, 35));

            //---- label19 ----
            label19.setText("Descriptive Language");
            label19.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label19, Repositories.class,
                    Repositories.PROPERTYNAME_DESCRIPTIVE_LANGUAGE);
            repositoryInfo.add(label19, cc.xy(1, 37));

            //---- resourcesLanguageCode ----
            resourcesLanguageCode.setMaximumSize(new Dimension(50, 27));
            resourcesLanguageCode.setOpaque(false);
            resourcesLanguageCode.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            repositoryInfo.add(resourcesLanguageCode,
                    cc.xywh(3, 37, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
        }
        tabbedPane1.addTab("Repository Info", repositoryInfo);

        //======== repositoryStatistics ========
        {
            repositoryStatistics.setBackground(new Color(200, 205, 232));
            repositoryStatistics.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //======== scrollPane4 ========
            {
                scrollPane4.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane4.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                scrollPane4.setPreferredSize(new Dimension(469, 250));

                //---- statisticsTable ----
                statisticsTable.setPreferredScrollableViewportSize(new Dimension(450, 250));
                statisticsTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        statisticsTableMouseClicked(e);
                    }
                });
                scrollPane4.setViewportView(statisticsTable);
            }
            repositoryStatistics.add(scrollPane4,
                    cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.FILL));

            //======== panel2 ========
            {
                panel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel2.setOpaque(false);
                panel2.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addStatistics ----
                addStatistics.setText("Add Statistics");
                addStatistics.setOpaque(false);
                addStatistics.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addStatistics.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addStatisticsActionPerformed();
                    }
                });
                panel2.add(addStatistics, cc.xy(1, 1));

                //---- removeStatistics ----
                removeStatistics.setText("Remove Statistics");
                removeStatistics.setOpaque(false);
                removeStatistics.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeStatistics.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeStatisticsActionPerformed(e);
                    }
                });
                panel2.add(removeStatistics, cc.xy(3, 1));
            }
            repositoryStatistics.add(panel2,
                    cc.xywh(1, 3, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane1.addTab("Repository Statistics", repositoryStatistics);

        //======== defaultValues ========
        {
            defaultValues.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            defaultValues.setBackground(new Color(200, 205, 232));
            defaultValues.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

            //---- label16 ----
            label16.setText("Fields");
            defaultValues.add(label16, cc.xy(1, 1));

            //======== scrollPane1 ========
            {
                scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                scrollPane1.setPreferredSize(new Dimension(469, 250));

                //---- defaultValuesTable ----
                defaultValuesTable.setPreferredScrollableViewportSize(new Dimension(450, 250));
                defaultValuesTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        defaultValuesMouseClicked(e);
                    }
                });
                scrollPane1.setViewportView(defaultValuesTable);
            }
            defaultValues.add(scrollPane1, cc.xywh(1, 3, 1, 1, CellConstraints.FILL, CellConstraints.FILL));

            //======== panel1 ========
            {
                panel1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel1.setOpaque(false);
                panel1.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addDefaultValue ----
                addDefaultValue.setText("Add Default Value");
                addDefaultValue.setOpaque(false);
                addDefaultValue.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addDefaultValue.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addDefaultValueActionPerformed();
                    }
                });
                panel1.add(addDefaultValue, cc.xy(1, 1));

                //---- removeDefaultValue ----
                removeDefaultValue.setText("Remove Default Value");
                removeDefaultValue.setOpaque(false);
                removeDefaultValue.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeDefaultValue.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeDefaultValueActionPerformed();
                    }
                });
                panel1.add(removeDefaultValue, cc.xy(3, 1));
            }
            defaultValues.add(panel1, cc.xywh(1, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //---- separator5 ----
            separator5.setBackground(new Color(220, 220, 232));
            separator5.setForeground(new Color(147, 131, 86));
            separator5.setMinimumSize(new Dimension(1, 10));
            separator5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            defaultValues.add(separator5, cc.xy(1, 7));

            //---- label17 ----
            label17.setText("Default Values for notes");
            defaultValues.add(label17, cc.xy(1, 9));

            //======== scrollPane2 ========
            {
                scrollPane2.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                scrollPane2.setPreferredSize(new Dimension(469, 250));

                //---- noteDefaultValuesTable ----
                noteDefaultValuesTable.setPreferredScrollableViewportSize(new Dimension(450, 250));
                noteDefaultValuesTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        noteDefaultValuesMouseClicked(e);
                    }
                });
                scrollPane2.setViewportView(noteDefaultValuesTable);
            }
            defaultValues.add(scrollPane2, cc.xywh(1, 11, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
        }
        tabbedPane1.addTab("Default Values", defaultValues);

        //======== notes ========
        {
            notes.setBackground(new Color(200, 205, 232));
            notes.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //======== scrollPane3 ========
            {
                scrollPane3.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                //---- notesTable ----
                notesTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        notesTableMouseClicked(e);
                    }

                    @Override
                    public void mousePressed(MouseEvent e) {
                        notesTableMousePressed(e);
                    }

                    @Override
                    public void mouseReleased(MouseEvent e) {
                        notesTableMouseReleased(e);
                    }
                });
                scrollPane3.setViewportView(notesTable);
            }
            notes.add(scrollPane3, cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

            //======== panel3 ========
            {
                panel3.setBackground(new Color(231, 188, 251));
                panel3.setOpaque(false);
                panel3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel3.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addNoteButton ----
                addNoteButton.setText("Add Note");
                addNoteButton.setOpaque(false);
                addNoteButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addNoteButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addNoteButtonActionPerformed(e);
                    }
                });
                panel3.add(addNoteButton, cc.xy(1, 1));

                //---- removeNoteButton ----
                removeNoteButton.setText("Remove Note");
                removeNoteButton.setOpaque(false);
                removeNoteButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeNoteButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeNoteButtonActionPerformed(e);
                    }
                });
                panel3.add(removeNoteButton, cc.xy(3, 1));
            }
            notes.add(panel3, cc.xywh(1, 3, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane1.addTab("Notes", notes);

    }
    add(tabbedPane1, cc.xywh(1, 2, 2, 1));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.RepositoryNotesDefaultValuesFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    noteTypeLabel = new JLabel();
    noteType = new JLabel();
    label_subjectScopeNote2 = new JLabel();
    defaultTitle = ATBasicComponentFactory.createTextField(
            detailsModel.getBufferedModel(RepositoryNotesDefaultValues.PROPERTYNAME_DEFAULT_TITLE));
    label_subjectScopeNote = new JLabel();
    scrollPane1 = new JScrollPane();
    defaultContent = ATBasicComponentFactory.createTextArea(
            detailsModel.getBufferedModel(RepositoryNotesDefaultValues.PROPERTYNAME_DEFAULT_CONTENT));
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBorder(Borders.DLU4_BORDER);/*from   w w w.j  av  a2 s  . c o  m*/
    setBackground(new Color(234, 201, 250));
    setOpaque(false);
    setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    new ColumnSpec("max(default;400px):grow") },
            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.RELATED_GAP_ROWSPEC,
                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

    //---- noteTypeLabel ----
    noteTypeLabel.setText("Note Type");
    noteTypeLabel.setVerticalAlignment(SwingConstants.TOP);
    noteTypeLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    add(noteTypeLabel, cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

    //---- noteType ----
    noteType.setText("Note Type Value");
    noteType.setVerticalAlignment(SwingConstants.TOP);
    noteType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    add(noteType, cc.xywh(3, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

    //---- label_subjectScopeNote2 ----
    label_subjectScopeNote2.setText("Default Title");
    label_subjectScopeNote2.setVerticalAlignment(SwingConstants.TOP);
    label_subjectScopeNote2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label_subjectScopeNote2, RepositoryNotesDefaultValues.class,
            RepositoryNotesDefaultValues.PROPERTYNAME_DEFAULT_TITLE);
    add(label_subjectScopeNote2, cc.xywh(1, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));
    add(defaultTitle, cc.xy(3, 3));

    //---- label_subjectScopeNote ----
    label_subjectScopeNote.setText("Default Content");
    label_subjectScopeNote.setVerticalAlignment(SwingConstants.TOP);
    label_subjectScopeNote.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label_subjectScopeNote, RepositoryNotesDefaultValues.class,
            RepositoryNotesDefaultValues.PROPERTYNAME_DEFAULT_CONTENT);
    add(label_subjectScopeNote, cc.xywh(1, 5, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

    //======== scrollPane1 ========
    {
        scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
        scrollPane1.setMaximumSize(new Dimension(32767, 100));
        scrollPane1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

        //---- defaultContent ----
        defaultContent.setRows(10);
        defaultContent.setLineWrap(true);
        defaultContent.setTabSize(20);
        defaultContent.setWrapStyleWord(true);
        scrollPane1.setViewportView(defaultContent);
    }
    add(scrollPane1, cc.xywh(3, 5, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.ResourceComponentsFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    tabbedPane = new JTabbedPane();
    basicInformationPanel = new JPanel();
    panel7 = new JPanel();
    panel3 = new JPanel();
    label_resourcesLevel = new JLabel();
    resourcesLevel = ATBasicComponentFactory.createComboBox(detailsModel,
            ResourcesComponents.PROPERTYNAME_LEVEL, ResourcesComponents.class);
    panel12 = new JPanel();
    label3 = new JLabel();
    resourcesDateBegin2 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ResourcesComponents.PROPERTYNAME_PERSISTENT_ID));
    label_otherLevel = new JLabel();
    resourcesOtherLevel = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ResourcesComponents.PROPERTYNAME_OTHER_LEVEL), false);
    label_resourcesTitle = new JLabel();
    scrollPane42 = new JScrollPane();
    resourcesTitle = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(ArchDescription.PROPERTYNAME_TITLE), false);
    tagApplicatorPanel = new JPanel();
    insertInlineTag = ATBasicComponentFactory
            .createUnboundComboBox(InLineTagsUtils.getInLineTagList(InLineTagsUtils.TITLE));
    panel34 = new JPanel();
    panel35 = new JPanel();
    panel36 = new JPanel();
    label_resourcesDateExpression = new JLabel();
    resourcesDateExpression = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ArchDescription.PROPERTYNAME_DATE_EXPRESSION), false);
    Date1Label = new JLabel();
    label_resourcesDateBegin = new JLabel();
    resourcesDateBegin = ATBasicComponentFactory.createIntegerField(detailsModel,
            ArchDescription.PROPERTYNAME_DATE_BEGIN);
    label_resourcesDateEnd = new JLabel();
    resourcesDateEnd = ATBasicComponentFactory.createIntegerField(detailsModel,
            ArchDescription.PROPERTYNAME_DATE_END);
    BulkDatesLabel = new JLabel();
    label_resourcesBulkDateBegin = new JLabel();
    resourcesBulkDateBegin = ATBasicComponentFactory.createIntegerField(detailsModel,
            ResourcesComponents.PROPERTYNAME_BULK_DATE_BEGIN);
    label_resourcesBulkDateEnd = new JLabel();
    resourcesBulkDateEnd = ATBasicComponentFactory.createIntegerField(detailsModel,
            ResourcesComponents.PROPERTYNAME_BULK_DATE_END);
    panel9 = new JPanel();
    label_resourcesLanguageCode2 = new JLabel();
    resourcesLanguageCode = ATBasicComponentFactory.createComboBox(detailsModel,
            ResourcesComponents.PROPERTYNAME_LANGUAGE_CODE, ResourcesComponents.class);
    panel23 = new JPanel();
    label_resourcesLanguageNote2 = new JLabel();
    scrollPane423 = new JScrollPane();
    resourcesLanguageNote = ATBasicComponentFactory.createTextArea(
            detailsModel.getModel(ResourcesComponents.PROPERTYNAME_REPOSITORY_PROCESSING_NOTE), false);
    separator2 = new JSeparator();
    panel10 = new JPanel();
    panel1 = new JPanel();
    label_resourcesLevel2 = new JLabel();
    subdivisionIdentifier = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ResourcesComponents.PROPERTYNAME_UNIQUE_IDENTIFIER), false);
    panel32 = new JPanel();
    panel5 = new JPanel();
    ExtentNumberLabel2 = new JLabel();
    label_resourcesExtentNumber = new JLabel();
    resourcesExtentNumber = ATBasicComponentFactory.createDoubleField(detailsModel,
            ResourcesComponents.PROPERTYNAME_EXTENT_NUMBER);
    extentType = ATBasicComponentFactory.createComboBox(detailsModel,
            ResourcesComponents.PROPERTYNAME_EXTENT_TYPE, ResourcesComponents.class);
    label_resourcesExtentDescription = new JLabel();
    scrollPane422 = new JScrollPane();
    resourcesExtentDescription = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(ResourcesComponents.PROPERTYNAME_CONTAINER_SUMMARY), false);
    panel2 = new JPanel();
    panel6 = new JPanel();
    label1 = new JLabel();
    scrollPane4 = new JScrollPane();
    instancesTable = new DomainSortableTable(ArchDescriptionInstances.class,
            ArchDescriptionInstances.PROPERTYNAME_INSTANCE_TYPE);
    panel13 = new JPanel();
    addInstanceButton = new JButton();
    removeInstanceButton = new JButton();
    panel4 = new JPanel();
    restrictionsApply2 = ATBasicComponentFactory.createCheckBox(detailsModel,
            ResourcesComponents.PROPERTYNAME_INTERNAL_ONLY, ResourcesComponents.class);
    resourcesRestrictionsApply = ATBasicComponentFactory.createCheckBox(detailsModel,
            ArchDescription.PROPERTYNAME_RESTRICTIONS_APPLY, ResourcesComponents.class);
    namesPanel = new JPanel();
    SubjectsLabel2 = new JLabel();
    scrollPane1 = new JScrollPane();
    namesTable = new DomainSortableTable(ArchDescriptionNames.class,
            ArchDescriptionNames.PROPERTYNAME_SORT_NAME);
    panel8 = new JPanel();
    editNameRelationshipButton = new JButton();
    addNameRelationshipButton = new JButton();
    removeNameRelationshipButton = new JButton();
    separator5 = new JSeparator();
    SubjectsLabel = new JLabel();
    scrollPane3 = new JScrollPane();
    subjectsTable = new DomainSortableTable(ArchDescriptionSubjects.class,
            ArchDescriptionSubjects.PROPERTYNAME_SUBJECT_TERM);
    panel11 = new JPanel();
    addSubjectRelationshipButton = new JButton();
    removeSubjectRelationshipButton = new JButton();
    notesPanel = new JPanel();
    scrollPane5 = new JScrollPane();
    repeatingDataTable = new DomainSortedTable(ArchDescriptionRepeatingData.class);
    panel15 = new JPanel();
    addNoteEtcComboBox = new JComboBox();
    removeNotesEtcButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout("default:grow", "top:default:grow"));

    //======== tabbedPane ========
    {//  w w  w  . j  a va2  s. c o  m
        tabbedPane.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        tabbedPane.setBackground(new Color(200, 205, 232));
        tabbedPane.setOpaque(true);

        //======== basicInformationPanel ========
        {
            basicInformationPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            basicInformationPanel.setBackground(new Color(200, 205, 232));
            basicInformationPanel.setLayout(new FormLayout(
                    new ColumnSpec[] { new ColumnSpec(ColumnSpec.LEFT, Sizes.DEFAULT, 0.5),
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec("left:max(default;300px):grow(0.5)") },
                    RowSpec.decodeSpecs("fill:default:grow")));
            ((FormLayout) basicInformationPanel.getLayout()).setColumnGroups(new int[][] { { 1, 5 } });

            //======== panel7 ========
            {
                panel7.setOpaque(false);
                panel7.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel7.setBorder(Borders.DLU2_BORDER);
                panel7.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                        new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                //======== panel3 ========
                {
                    panel3.setOpaque(false);
                    panel3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel3.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.MIN_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                    FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                    new ColumnSpec(ColumnSpec.RIGHT, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                    //---- label_resourcesLevel ----
                    label_resourcesLevel.setText("Level");
                    label_resourcesLevel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesLevel, ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_LEVEL);
                    panel3.add(label_resourcesLevel,
                            cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                    //---- resourcesLevel ----
                    resourcesLevel.setOpaque(false);
                    resourcesLevel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    resourcesLevel.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            resourcesLevelActionPerformed();
                        }
                    });
                    panel3.add(resourcesLevel,
                            cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== panel12 ========
                    {
                        panel12.setOpaque(false);
                        panel12.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                        //---- label3 ----
                        label3.setText("Persistent ID");
                        label3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label3, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_PERSISTENT_ID);
                        panel12.add(label3, cc.xy(1, 1));

                        //---- resourcesDateBegin2 ----
                        resourcesDateBegin2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        resourcesDateBegin2.setEditable(false);
                        resourcesDateBegin2.setOpaque(false);
                        panel12.add(resourcesDateBegin2, cc.xy(3, 1));
                    }
                    panel3.add(panel12, cc.xy(5, 1));

                    //---- label_otherLevel ----
                    label_otherLevel.setText("Other Level");
                    label_otherLevel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_otherLevel, ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_OTHER_LEVEL);
                    panel3.add(label_otherLevel,
                            cc.xywh(1, 3, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
                    panel3.add(resourcesOtherLevel, cc.xywh(3, 3, 3, 1));

                    //---- label_resourcesTitle ----
                    label_resourcesTitle.setText("Title");
                    label_resourcesTitle.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesTitle, ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_TITLE);
                    panel3.add(label_resourcesTitle, cc.xywh(1, 5, 5, 1));

                    //======== scrollPane42 ========
                    {
                        scrollPane42.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane42.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- resourcesTitle ----
                        resourcesTitle.setRows(4);
                        resourcesTitle.setLineWrap(true);
                        resourcesTitle.setWrapStyleWord(true);
                        scrollPane42.setViewportView(resourcesTitle);
                    }
                    panel3.add(scrollPane42, cc.xywh(1, 7, 5, 1));

                    //======== tagApplicatorPanel ========
                    {
                        tagApplicatorPanel.setOpaque(false);
                        tagApplicatorPanel.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                        //---- insertInlineTag ----
                        insertInlineTag.setOpaque(false);
                        insertInlineTag.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        insertInlineTag.addActionListener(new ActionListener() {
                            public void actionPerformed(ActionEvent e) {
                                insertInlineTagActionPerformed();
                            }
                        });
                        tagApplicatorPanel.add(insertInlineTag, cc.xy(1, 1));
                    }
                    panel3.add(tagApplicatorPanel, cc.xywh(1, 9, 5, 1));
                }
                panel7.add(panel3, cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

                //======== panel34 ========
                {
                    panel34.setBorder(new BevelBorder(BevelBorder.LOWERED));
                    panel34.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel34.setBackground(new Color(182, 187, 212));
                    panel34.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                            new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.RELATED_GAP_ROWSPEC }));

                    //======== panel35 ========
                    {
                        panel35.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel35.setOpaque(false);
                        panel35.setBorder(Borders.DLU2_BORDER);
                        panel35.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC }));

                        //======== panel36 ========
                        {
                            panel36.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel36.setOpaque(false);
                            panel36.setLayout(new FormLayout(
                                    new ColumnSpec[] {
                                            new ColumnSpec(ColumnSpec.LEFT, Sizes.PREFERRED, FormSpec.NO_GROW),
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("default:grow")));

                            //---- label_resourcesDateExpression ----
                            label_resourcesDateExpression.setText("Date Expression");
                            label_resourcesDateExpression.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            ATFieldInfo.assignLabelInfo(label_resourcesDateExpression,
                                    ResourcesComponents.class,
                                    ResourcesComponents.PROPERTYNAME_DATE_EXPRESSION);
                            panel36.add(label_resourcesDateExpression, cc.xy(1, 1));
                            panel36.add(resourcesDateExpression, cc.xy(3, 1));
                        }
                        panel35.add(panel36, cc.xywh(1, 1, 9, 1));

                        //---- Date1Label ----
                        Date1Label.setText("Date");
                        Date1Label.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel35.add(Date1Label, new CellConstraints(1, 3, 9, 1, CellConstraints.DEFAULT,
                                CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                        //---- label_resourcesDateBegin ----
                        label_resourcesDateBegin.setText("Begin");
                        label_resourcesDateBegin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesDateBegin, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_DATE_BEGIN);
                        panel35.add(label_resourcesDateBegin, cc.xy(3, 5));

                        //---- resourcesDateBegin ----
                        resourcesDateBegin.setColumns(4);
                        panel35.add(resourcesDateBegin, cc.xy(5, 5));

                        //---- label_resourcesDateEnd ----
                        label_resourcesDateEnd.setText("End");
                        label_resourcesDateEnd.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesDateEnd, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_DATE_END);
                        panel35.add(label_resourcesDateEnd, cc.xy(7, 5));

                        //---- resourcesDateEnd ----
                        resourcesDateEnd.setColumns(4);
                        panel35.add(resourcesDateEnd, new CellConstraints(9, 5, 1, 1, CellConstraints.FILL,
                                CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));

                        //---- BulkDatesLabel ----
                        BulkDatesLabel.setText("Bulk Dates");
                        BulkDatesLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel35.add(BulkDatesLabel, new CellConstraints(1, 7, 9, 1, CellConstraints.DEFAULT,
                                CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                        //---- label_resourcesBulkDateBegin ----
                        label_resourcesBulkDateBegin.setText("Begin");
                        label_resourcesBulkDateBegin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesBulkDateBegin, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_BULK_DATE_BEGIN);
                        panel35.add(label_resourcesBulkDateBegin, cc.xy(3, 9));

                        //---- resourcesBulkDateBegin ----
                        resourcesBulkDateBegin.setColumns(4);
                        panel35.add(resourcesBulkDateBegin, cc.xy(5, 9));

                        //---- label_resourcesBulkDateEnd ----
                        label_resourcesBulkDateEnd.setText("End");
                        label_resourcesBulkDateEnd.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesBulkDateEnd, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_BULK_DATE_END);
                        panel35.add(label_resourcesBulkDateEnd, cc.xy(7, 9));

                        //---- resourcesBulkDateEnd ----
                        resourcesBulkDateEnd.setColumns(4);
                        panel35.add(resourcesBulkDateEnd, new CellConstraints(9, 9, 1, 1, CellConstraints.FILL,
                                CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));
                    }
                    panel34.add(panel35, cc.xy(1, 1));
                }
                panel7.add(panel34, cc.xy(1, 3));

                //======== panel9 ========
                {
                    panel9.setOpaque(false);
                    panel9.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                    new ColumnSpec("left:min(default;200px)") },
                            RowSpec.decodeSpecs("default")));

                    //---- label_resourcesLanguageCode2 ----
                    label_resourcesLanguageCode2.setText("Lanaguage");
                    label_resourcesLanguageCode2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesLanguageCode2, ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_LANGUAGE_CODE);
                    panel9.add(label_resourcesLanguageCode2, cc.xy(1, 1));

                    //---- resourcesLanguageCode ----
                    resourcesLanguageCode.setMaximumSize(new Dimension(150, 32767));
                    resourcesLanguageCode.setOpaque(false);
                    resourcesLanguageCode.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel9.add(resourcesLanguageCode,
                            cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel7.add(panel9, cc.xy(1, 5));

                //======== panel23 ========
                {
                    panel23.setOpaque(false);
                    panel23.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel23.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                    //---- label_resourcesLanguageNote2 ----
                    label_resourcesLanguageNote2.setText("Repository Processing Note");
                    label_resourcesLanguageNote2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesLanguageNote2, ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_REPOSITORY_PROCESSING_NOTE);
                    panel23.add(label_resourcesLanguageNote2, new CellConstraints(1, 1, 1, 1,
                            CellConstraints.DEFAULT, CellConstraints.DEFAULT, new Insets(0, 10, 0, 0)));

                    //======== scrollPane423 ========
                    {
                        scrollPane423.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane423.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- resourcesLanguageNote ----
                        resourcesLanguageNote.setRows(4);
                        resourcesLanguageNote.setWrapStyleWord(true);
                        scrollPane423.setViewportView(resourcesLanguageNote);
                    }
                    panel23.add(scrollPane423, new CellConstraints(1, 3, 1, 1, CellConstraints.DEFAULT,
                            CellConstraints.DEFAULT, new Insets(0, 10, 0, 0)));
                }
                panel7.add(panel23, cc.xy(1, 7));
            }
            basicInformationPanel.add(panel7,
                    cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

            //---- separator2 ----
            separator2.setForeground(new Color(147, 131, 86));
            separator2.setOrientation(SwingConstants.VERTICAL);
            basicInformationPanel.add(separator2,
                    cc.xywh(3, 1, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //======== panel10 ========
            {
                panel10.setOpaque(false);
                panel10.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel10.setBorder(Borders.DLU2_BORDER);
                panel10.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                        new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                //======== panel1 ========
                {
                    panel1.setOpaque(false);
                    panel1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel1.setLayout(
                            new FormLayout(
                                    new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(
                                                    ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("default")));

                    //---- label_resourcesLevel2 ----
                    label_resourcesLevel2.setText("Component Unique Identifier");
                    label_resourcesLevel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesLevel2, ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_UNIQUE_IDENTIFIER);
                    panel1.add(label_resourcesLevel2,
                            cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                    //---- subdivisionIdentifier ----
                    subdivisionIdentifier.setColumns(5);
                    panel1.add(subdivisionIdentifier,
                            cc.xywh(3, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
                }
                panel10.add(panel1, cc.xy(1, 1));

                //======== panel32 ========
                {
                    panel32.setBorder(new BevelBorder(BevelBorder.LOWERED));
                    panel32.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel32.setBackground(new Color(182, 187, 212));
                    panel32.setLayout(new FormLayout("60px:grow", "fill:default:grow"));

                    //======== panel5 ========
                    {
                        panel5.setBorder(Borders.DLU2_BORDER);
                        panel5.setOpaque(false);
                        panel5.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                        //---- ExtentNumberLabel2 ----
                        ExtentNumberLabel2.setText("Extent");
                        ExtentNumberLabel2.setForeground(new Color(0, 0, 102));
                        ExtentNumberLabel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel5.add(ExtentNumberLabel2, cc.xywh(1, 1, 2, 1));

                        //---- label_resourcesExtentNumber ----
                        label_resourcesExtentNumber.setText("Extent");
                        label_resourcesExtentNumber.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesExtentNumber, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_EXTENT_NUMBER);
                        panel5.add(label_resourcesExtentNumber, cc.xy(2, 3));

                        //---- resourcesExtentNumber ----
                        resourcesExtentNumber.setColumns(5);
                        panel5.add(resourcesExtentNumber, cc.xy(4, 3));

                        //---- extentType ----
                        extentType.setOpaque(false);
                        extentType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel5.add(extentType,
                                cc.xywh(6, 3, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                        //---- label_resourcesExtentDescription ----
                        label_resourcesExtentDescription.setText("Container Summary");
                        label_resourcesExtentDescription.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesExtentDescription, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_CONTAINER_SUMMARY);
                        panel5.add(label_resourcesExtentDescription, cc.xywh(2, 5, 5, 1));

                        //======== scrollPane422 ========
                        {
                            scrollPane422
                                    .setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                            scrollPane422.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                            //---- resourcesExtentDescription ----
                            resourcesExtentDescription.setRows(4);
                            resourcesExtentDescription.setWrapStyleWord(true);
                            scrollPane422.setViewportView(resourcesExtentDescription);
                        }
                        panel5.add(scrollPane422, cc.xywh(2, 7, 5, 1));
                    }
                    panel32.add(panel5, cc.xy(1, 1));
                }
                panel10.add(panel32, cc.xy(1, 3));

                //======== panel2 ========
                {
                    panel2.setBackground(new Color(182, 187, 212));
                    panel2.setBorder(new BevelBorder(BevelBorder.LOWERED));
                    panel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel2.setLayout(new FormLayout("default:grow", "fill:default:grow"));

                    //======== panel6 ========
                    {
                        panel6.setOpaque(false);
                        panel6.setBorder(Borders.DLU2_BORDER);
                        panel6.setLayout(
                                new FormLayout(
                                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                        FormSpec.DEFAULT_GROW) },
                                        new RowSpec[] { FormFactory.DEFAULT_ROWSPEC,
                                                FormFactory.LINE_GAP_ROWSPEC,
                                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                        //---- label1 ----
                        label1.setText("Instances");
                        label1.setForeground(new Color(0, 0, 102));
                        label1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label1, ResourcesComponents.class,
                                ResourcesComponents.PROPERTYNAME_INSTANCES);
                        panel6.add(label1, cc.xywh(1, 1, 2, 1));

                        //======== scrollPane4 ========
                        {
                            scrollPane4
                                    .setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);

                            //---- instancesTable ----
                            instancesTable.setPreferredScrollableViewportSize(new Dimension(200, 75));
                            instancesTable.setRowHeight(20);
                            instancesTable.addMouseListener(new MouseAdapter() {
                                @Override
                                public void mouseClicked(MouseEvent e) {
                                    instancesTableMouseClicked(e);
                                }
                            });
                            scrollPane4.setViewportView(instancesTable);
                        }
                        panel6.add(scrollPane4, cc.xy(2, 3));

                        //======== panel13 ========
                        {
                            panel13.setBackground(new Color(231, 188, 251));
                            panel13.setOpaque(false);
                            panel13.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel13.setLayout(new FormLayout(new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                    RowSpec.decodeSpecs("default")));

                            //---- addInstanceButton ----
                            addInstanceButton.setBackground(new Color(231, 188, 251));
                            addInstanceButton.setText("Add Instance");
                            addInstanceButton.setOpaque(false);
                            addInstanceButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            addInstanceButton.addActionListener(new ActionListener() {
                                public void actionPerformed(ActionEvent e) {
                                    addInstanceButtonActionPerformed();
                                }
                            });
                            panel13.add(addInstanceButton, cc.xy(1, 1));

                            //---- removeInstanceButton ----
                            removeInstanceButton.setBackground(new Color(231, 188, 251));
                            removeInstanceButton.setText("Remove Instance");
                            removeInstanceButton.setOpaque(false);
                            removeInstanceButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            removeInstanceButton.addActionListener(new ActionListener() {
                                public void actionPerformed(ActionEvent e) {
                                    removeInstanceButtonActionPerformed();
                                }
                            });
                            panel13.add(removeInstanceButton, cc.xy(3, 1));
                        }
                        panel6.add(panel13,
                                cc.xywh(1, 5, 2, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
                    }
                    panel2.add(panel6, cc.xy(1, 1));
                }
                panel10.add(panel2, cc.xy(1, 5));

                //======== panel4 ========
                {
                    panel4.setOpaque(false);
                    panel4.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                            RowSpec.decodeSpecs("default")));

                    //---- restrictionsApply2 ----
                    restrictionsApply2.setBackground(new Color(231, 188, 251));
                    restrictionsApply2.setText("Internal Only");
                    restrictionsApply2.setOpaque(false);
                    restrictionsApply2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    restrictionsApply2.setText(ATFieldInfo.getLabel(ResourcesComponents.class,
                            ResourcesComponents.PROPERTYNAME_INTERNAL_ONLY));
                    panel4.add(restrictionsApply2, cc.xy(1, 1));

                    //---- resourcesRestrictionsApply ----
                    resourcesRestrictionsApply.setBackground(new Color(231, 188, 251));
                    resourcesRestrictionsApply.setText("Restrictions Apply");
                    resourcesRestrictionsApply.setOpaque(false);
                    resourcesRestrictionsApply.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    resourcesRestrictionsApply.setText(ATFieldInfo.getLabel(ResourcesComponents.class,
                            ArchDescription.PROPERTYNAME_RESTRICTIONS_APPLY));
                    panel4.add(resourcesRestrictionsApply, cc.xy(3, 1));
                }
                panel10.add(panel4, cc.xy(1, 7));
            }
            basicInformationPanel.add(panel10, cc.xywh(5, 1, 1, 1, CellConstraints.FILL, CellConstraints.FILL));
        }
        tabbedPane.addTab("Basic Description", basicInformationPanel);

        //======== namesPanel ========
        {
            namesPanel.setBackground(new Color(200, 205, 232));
            namesPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));
            ((FormLayout) namesPanel.getLayout()).setRowGroups(new int[][] { { 3, 11 } });

            //---- SubjectsLabel2 ----
            SubjectsLabel2.setText("Names");
            SubjectsLabel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.add(SubjectsLabel2, cc.xy(1, 1));

            //======== scrollPane1 ========
            {
                scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                //---- namesTable ----
                namesTable.setPreferredScrollableViewportSize(new Dimension(450, 300));
                namesTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        namesTableMouseClicked(e);
                    }
                });
                scrollPane1.setViewportView(namesTable);
            }
            namesPanel.add(scrollPane1, cc.xywh(1, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

            //======== panel8 ========
            {
                panel8.setBackground(new Color(231, 188, 251));
                panel8.setOpaque(false);
                panel8.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel8.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- editNameRelationshipButton ----
                editNameRelationshipButton.setText("Edit Name Link");
                editNameRelationshipButton.setOpaque(false);
                editNameRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                editNameRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        editNameRelationshipButtonActionPerformed();
                    }
                });
                panel8.add(editNameRelationshipButton, cc.xy(1, 1));

                //---- addNameRelationshipButton ----
                addNameRelationshipButton.setBackground(new Color(231, 188, 251));
                addNameRelationshipButton.setText("Add Name Link");
                addNameRelationshipButton.setOpaque(false);
                addNameRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addNameRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addNameRelationshipButtonActionPerformed();
                    }
                });
                panel8.add(addNameRelationshipButton, cc.xy(3, 1));

                //---- removeNameRelationshipButton ----
                removeNameRelationshipButton.setBackground(new Color(231, 188, 251));
                removeNameRelationshipButton.setText("Remove Name Link");
                removeNameRelationshipButton.setOpaque(false);
                removeNameRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeNameRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeNameRelationshipButtonActionPerformed();
                    }
                });
                panel8.add(removeNameRelationshipButton, cc.xy(5, 1));
            }
            namesPanel.add(panel8, cc.xywh(1, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //---- separator5 ----
            separator5.setBackground(new Color(220, 220, 232));
            separator5.setForeground(new Color(147, 131, 86));
            separator5.setMinimumSize(new Dimension(1, 10));
            separator5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.add(separator5, cc.xy(1, 7));

            //---- SubjectsLabel ----
            SubjectsLabel.setText("Subjects");
            SubjectsLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.add(SubjectsLabel, cc.xy(1, 9));

            //======== scrollPane3 ========
            {
                scrollPane3.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                //---- subjectsTable ----
                subjectsTable.setPreferredScrollableViewportSize(new Dimension(200, 200));
                scrollPane3.setViewportView(subjectsTable);
            }
            namesPanel.add(scrollPane3, cc.xy(1, 11));

            //======== panel11 ========
            {
                panel11.setBackground(new Color(231, 188, 251));
                panel11.setOpaque(false);
                panel11.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel11.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addSubjectRelationshipButton ----
                addSubjectRelationshipButton.setBackground(new Color(231, 188, 251));
                addSubjectRelationshipButton.setText("Add Subject Link");
                addSubjectRelationshipButton.setOpaque(false);
                addSubjectRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addSubjectRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addSubjectRelationshipButtonActionPerformed();
                    }
                });
                panel11.add(addSubjectRelationshipButton, cc.xy(1, 1));

                //---- removeSubjectRelationshipButton ----
                removeSubjectRelationshipButton.setBackground(new Color(231, 188, 251));
                removeSubjectRelationshipButton.setText("Remove Subject Link");
                removeSubjectRelationshipButton.setOpaque(false);
                removeSubjectRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeSubjectRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeSubjectRelationshipButtonActionPerformed();
                    }
                });
                panel11.add(removeSubjectRelationshipButton, cc.xy(3, 1));
            }
            namesPanel.add(panel11, cc.xywh(1, 13, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Names & Subjects", namesPanel);

        //======== notesPanel ========
        {
            notesPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            notesPanel.setBackground(new Color(200, 205, 232));
            notesPanel.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //======== scrollPane5 ========
            {
                scrollPane5.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                //---- repeatingDataTable ----
                repeatingDataTable.setDragEnabled(true);
                repeatingDataTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        repeatingDataTableMouseClicked(e);
                    }
                });
                scrollPane5.setViewportView(repeatingDataTable);
            }
            notesPanel.add(scrollPane5, cc.xy(1, 1));

            //======== panel15 ========
            {
                panel15.setBackground(new Color(231, 188, 251));
                panel15.setOpaque(false);
                panel15.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel15.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addNoteEtcComboBox ----
                addNoteEtcComboBox.setOpaque(false);
                addNoteEtcComboBox.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addNoteEtcComboBoxActionPerformed(e);
                    }
                });
                panel15.add(addNoteEtcComboBox, cc.xy(1, 1));

                //---- removeNotesEtcButton ----
                removeNotesEtcButton.setBackground(new Color(231, 188, 251));
                removeNotesEtcButton.setText("Remove Note etc.");
                removeNotesEtcButton.setOpaque(false);
                removeNotesEtcButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeNotesEtcButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeNotesEtcButtonActionPerformed();
                    }
                });
                panel15.add(removeNotesEtcButton, cc.xy(3, 1));
            }
            notesPanel.add(panel15, cc.xywh(1, 3, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Notes Etc.", notesPanel);

    }
    add(tabbedPane, cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
    instancesTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
}

From source file:org.archiviststoolkit.editor.ResourceFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    tabbedPane = new JTabbedPane();
    basicInformationPanel = new JPanel();
    panel16 = new JPanel();
    panel19 = new JPanel();
    label_resourcesLevel = new JLabel();
    resourcesLevel = ATBasicComponentFactory.createComboBox(detailsModel, Resources.PROPERTYNAME_LEVEL,
            Resources.class);
    label_otherLevel = new JLabel();
    resourcesOtherLevel = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_OTHER_LEVEL), false);
    label_resourcesTitle = new JLabel();
    scrollPane2 = new JScrollPane();
    resourcesTitle = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(ArchDescription.PROPERTYNAME_TITLE), false);
    tagApplicatorPanel = new JPanel();
    insertInlineTag = ATBasicComponentFactory
            .createUnboundComboBox(InLineTagsUtils.getInLineTagList(InLineTagsUtils.TITLE));
    panel34 = new JPanel();
    panel35 = new JPanel();
    panel36 = new JPanel();
    label_resourcesDateExpression = new JLabel();
    resourcesDateExpression = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ArchDescription.PROPERTYNAME_DATE_EXPRESSION), false);
    Date1Label1 = new JLabel();
    label_resourcesDateBegin = new JLabel();
    resourcesDateBegin = ATBasicComponentFactory.createIntegerField(detailsModel,
            ArchDescription.PROPERTYNAME_DATE_BEGIN);
    label_resourcesDateEnd = new JLabel();
    resourcesDateEnd = ATBasicComponentFactory.createIntegerField(detailsModel,
            ArchDescription.PROPERTYNAME_DATE_END);
    BulkDatesLabel = new JLabel();
    label_resourcesBulkDateBegin = new JLabel();
    resourcesBulkDateBegin = ATBasicComponentFactory.createIntegerField(detailsModel,
            Resources.PROPERTYNAME_BULK_DATE_BEGIN);
    label_resourcesBulkDateEnd = new JLabel();
    resourcesBulkDateEnd = ATBasicComponentFactory.createIntegerField(detailsModel,
            Resources.PROPERTYNAME_BULK_DATE_END);
    panel1 = new JPanel();
    label_resourcesLanguageCode = new JLabel();
    resourcesLanguageCode = ATBasicComponentFactory.createComboBox(detailsModel,
            Resources.PROPERTYNAME_LANGUAGE_CODE, Resources.class);
    label_resourcesLanguageNote = new JLabel();
    scrollPane423 = new JScrollPane();
    resourcesLanguageNote = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_REPOSITORY_PROCESSING_NOTE), false);
    panel6 = new JPanel();
    label_agreementReceived2 = new JLabel();
    repositoryName = new JTextField();
    changeRepositoryButton = new JButton();
    panel13 = new JPanel();
    panel17 = new JPanel();
    panel12 = new JPanel();
    label_resourceIdentifier1 = new JLabel();
    resourceIdentifier1 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_RESOURCE_IDENTIFIER_1));
    resourceIdentifier2 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_RESOURCE_IDENTIFIER_2));
    resourceIdentifier3 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_RESOURCE_IDENTIFIER_3));
    resourceIdentifier4 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_RESOURCE_IDENTIFIER_4));
    panel42 = new JPanel();
    panel43 = new JPanel();
    OtherAccessionsLabel = new JLabel();
    scrollPane4 = new JScrollPane();
    accessionsTable = new DomainSortableTable();
    panel37 = new JPanel();
    panel20 = new JPanel();
    ExtentLabel = new JLabel();
    panel21 = new JPanel();
    label_resourcesExtentNumber = new JLabel();
    resourcesExtentNumber = ATBasicComponentFactory.createDoubleField(detailsModel,
            Resources.PROPERTYNAME_EXTENT_NUMBER);
    extentType = ATBasicComponentFactory.createComboBox(detailsModel, Resources.PROPERTYNAME_EXTENT_TYPE,
            Resources.class);
    label_resourcesExtentDescription = new JLabel();
    scrollPane422 = new JScrollPane();
    containerSummary = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_CONTAINER_SUMMARY), false);
    panel39 = new JPanel();
    panel40 = new JPanel();
    label1 = new JLabel();
    scrollPane6 = new JScrollPane();
    instancesTable = new DomainSortableTable(ArchDescriptionInstances.class,
            ArchDescriptionInstances.PROPERTYNAME_INSTANCE_TYPE);
    panel29 = new JPanel();
    addInstanceButton = new JButton();
    removeInstanceButton = new JButton();
    panel2 = new JPanel();
    restrictionsApply = ATBasicComponentFactory.createCheckBox(detailsModel,
            ArchDescription.PROPERTYNAME_RESTRICTIONS_APPLY, Resources.class);
    separator2 = new JSeparator();
    namesPanel = new JPanel();
    SubjectsLabel2 = new JLabel();
    scrollPane1 = new JScrollPane();
    namesTable = new DomainSortableTable(ArchDescriptionNames.class,
            ArchDescriptionNames.PROPERTYNAME_SORT_NAME);
    panel8 = new JPanel();
    editNameRelationshipButton = new JButton();
    addNameRelationshipButton = new JButton();
    removeNameRelationshipButton = new JButton();
    separator5 = new JSeparator();
    SubjectsLabel = new JLabel();
    scrollPane3 = new JScrollPane();
    subjectsTable = new DomainSortableTable(ArchDescriptionSubjects.class,
            ArchDescriptionSubjects.PROPERTYNAME_SUBJECT_TERM);
    panel11 = new JPanel();
    addSubjectRelationshipButton = new JButton();
    removeSubjectRelationshipButton = new JButton();
    notesPanel = new JPanel();
    SubjectsLabel3 = new JLabel();
    scrollPane5 = new JScrollPane();
    repeatingDataTable = new DomainSortedTable(ArchDescriptionRepeatingData.class);
    panel14 = new JPanel();
    addNoteEtcComboBox = new JComboBox();
    removeNotesEtcButton = new JButton();
    separator6 = new JSeparator();
    label_repositoryName3 = new JLabel();
    scrollPane7 = new JScrollPane();
    deaccessionsTable = new DomainSortableTable(Deaccessions.class);
    panel33 = new JPanel();
    addDeaccessions = new JButton();
    removeDeaccession = new JButton();
    basicInformationPanel2 = new JPanel();
    panel30 = new JPanel();
    panel9 = new JPanel();
    label6 = new JLabel();
    eadIdentifier5 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_EAD_FA_UNIQUE_IDENTIFIER), false);
    label15 = new JLabel();
    eadIdentifier13 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_EAD_FA_LOCATION), false);
    label7 = new JLabel();
    scrollPane45 = new JScrollPane();
    findingAidTitle = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_FINDING_AID_TITLE));
    label8 = new JLabel();
    scrollPane46 = new JScrollPane();
    findingAidSubtitle = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_FINDING_AID_SUBTITLE));
    label2 = new JLabel();
    scrollPane8 = new JScrollPane();
    findingAidFilingTitle = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_FINDING_AID_FILING_TITLE));
    label9 = new JLabel();
    eadIdentifier10 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_FINDING_AID_DATE), false);
    label10 = new JLabel();
    scrollPane47 = new JScrollPane();
    author = ATBasicComponentFactory.createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_AUTHOR));
    label11 = new JLabel();
    extentType2 = ATBasicComponentFactory.createComboBox(detailsModel, Resources.PROPERTYNAME_DESCRIPTION_RULES,
            Resources.class, 30);
    label12 = new JLabel();
    scrollPane48 = new JScrollPane();
    languageOfFindingAid = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_LANGUAGE_OF_FINDING_AID));
    separator1 = new JSeparator();
    panel41 = new JPanel();
    panel31 = new JPanel();
    label_resourcesTitle2 = new JLabel();
    scrollPane43 = new JScrollPane();
    sponsorNote = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_SPONSOR_NOTE));
    label13 = new JLabel();
    scrollPane49 = new JScrollPane();
    editionStatement = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_EDITION_STATEMENT));
    label14 = new JLabel();
    scrollPane50 = new JScrollPane();
    series = ATBasicComponentFactory.createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_SERIES));
    label16 = new JLabel();
    eadIdentifier15 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Resources.PROPERTYNAME_REVISION_DATE), false);
    label17 = new JLabel();
    scrollPane51 = new JScrollPane();
    revisionDescription = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_REVISION_DESCRIPTION));
    label18 = new JLabel();
    panel3 = new JPanel();
    extentType3 = ATBasicComponentFactory.createComboBox(detailsModel,
            Resources.PROPERTYNAME_FINDING_AID_STATUS, Resources.class);
    label_resourcesTitle3 = new JLabel();
    scrollPane44 = new JScrollPane();
    sponsorNote2 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Resources.PROPERTYNAME_FINDING_AID_NOTE));
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout("default:grow", "fill:default:grow"));

    //======== tabbedPane ========
    {/*from w ww  .  ja v  a 2 s .com*/
        tabbedPane.setMinimumSize(new Dimension(635, 408));
        tabbedPane.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        tabbedPane.setPreferredSize(new Dimension(750, 520));
        tabbedPane.setBackground(new Color(200, 205, 232));

        //======== basicInformationPanel ========
        {
            basicInformationPanel.setBackground(new Color(200, 205, 232));
            basicInformationPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            basicInformationPanel.setLayout(new FormLayout(
                    new ColumnSpec[] { new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                    RowSpec.decodeSpecs("fill:default:grow")));
            ((FormLayout) basicInformationPanel.getLayout()).setColumnGroups(new int[][] { { 1, 5 } });

            //======== panel16 ========
            {
                panel16.setOpaque(false);
                panel16.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel16.setBorder(Borders.DLU2_BORDER);
                panel16.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"), new RowSpec[] {
                        new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.LINE_GAP_ROWSPEC, new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW),
                        FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                        new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LINE_GAP_ROWSPEC,
                        new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                //======== panel19 ========
                {
                    panel19.setOpaque(false);
                    panel19.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel19.setLayout(
                            new FormLayout(
                                    new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.LEFT, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                    //---- label_resourcesLevel ----
                    label_resourcesLevel.setText("Level");
                    label_resourcesLevel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesLevel, Resources.class,
                            Resources.PROPERTYNAME_LEVEL);
                    panel19.add(label_resourcesLevel,
                            cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                    //---- resourcesLevel ----
                    resourcesLevel.setOpaque(false);
                    resourcesLevel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    resourcesLevel.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            resourcesLevelActionPerformed();
                        }
                    });
                    panel19.add(resourcesLevel,
                            cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //---- label_otherLevel ----
                    label_otherLevel.setText("Other Level");
                    label_otherLevel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_otherLevel, Resources.class,
                            Resources.PROPERTYNAME_OTHER_LEVEL);
                    panel19.add(label_otherLevel, cc.xy(1, 3));
                    panel19.add(resourcesOtherLevel, new CellConstraints(3, 3, 1, 1, CellConstraints.FILL,
                            CellConstraints.TOP, new Insets(0, 0, 0, 5)));

                    //---- label_resourcesTitle ----
                    label_resourcesTitle.setText("Title");
                    label_resourcesTitle.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesTitle, Resources.class,
                            Resources.PROPERTYNAME_TITLE);
                    panel19.add(label_resourcesTitle, cc.xywh(1, 5, 3, 1));

                    //======== scrollPane2 ========
                    {

                        //---- resourcesTitle ----
                        resourcesTitle.setRows(4);
                        resourcesTitle.setLineWrap(true);
                        resourcesTitle.setWrapStyleWord(true);
                        scrollPane2.setViewportView(resourcesTitle);
                    }
                    panel19.add(scrollPane2, cc.xywh(1, 7, 3, 1));

                    //======== tagApplicatorPanel ========
                    {
                        tagApplicatorPanel.setOpaque(false);
                        tagApplicatorPanel.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                        //---- insertInlineTag ----
                        insertInlineTag.setOpaque(false);
                        insertInlineTag.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        insertInlineTag.addActionListener(new ActionListener() {
                            public void actionPerformed(ActionEvent e) {
                                insertInlineTagActionPerformed();
                            }
                        });
                        tagApplicatorPanel.add(insertInlineTag, cc.xy(1, 1));
                    }
                    panel19.add(tagApplicatorPanel, cc.xywh(1, 9, 3, 1));
                }
                panel16.add(panel19, cc.xy(1, 1));

                //======== panel34 ========
                {
                    panel34.setBorder(new BevelBorder(BevelBorder.LOWERED));
                    panel34.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel34.setBackground(new Color(182, 187, 212));
                    panel34.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                            new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.RELATED_GAP_ROWSPEC }));

                    //======== panel35 ========
                    {
                        panel35.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel35.setOpaque(false);
                        panel35.setBorder(Borders.DLU2_BORDER);
                        panel35.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                        FormFactory.DEFAULT_ROWSPEC }));

                        //======== panel36 ========
                        {
                            panel36.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel36.setOpaque(false);
                            panel36.setLayout(new FormLayout(
                                    new ColumnSpec[] {
                                            new ColumnSpec(ColumnSpec.LEFT, Sizes.PREFERRED, FormSpec.NO_GROW),
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("default:grow")));

                            //---- label_resourcesDateExpression ----
                            label_resourcesDateExpression.setText("Date Expression");
                            label_resourcesDateExpression.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            ATFieldInfo.assignLabelInfo(label_resourcesDateExpression, Resources.class,
                                    Resources.PROPERTYNAME_DATE_EXPRESSION);
                            panel36.add(label_resourcesDateExpression,
                                    cc.xywh(1, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                            panel36.add(resourcesDateExpression, new CellConstraints(3, 1, 1, 1,
                                    CellConstraints.DEFAULT, CellConstraints.TOP, new Insets(0, 0, 0, 5)));
                        }
                        panel35.add(panel36, cc.xywh(1, 1, 9, 1));

                        //---- Date1Label1 ----
                        Date1Label1.setText("Inclusive Dates");
                        Date1Label1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel35.add(Date1Label1, new CellConstraints(3, 3, 9, 1, CellConstraints.DEFAULT,
                                CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                        //---- label_resourcesDateBegin ----
                        label_resourcesDateBegin.setText("Begin");
                        label_resourcesDateBegin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesDateBegin, Resources.class,
                                Resources.PROPERTYNAME_DATE_BEGIN);
                        panel35.add(label_resourcesDateBegin, cc.xy(3, 5));

                        //---- resourcesDateBegin ----
                        resourcesDateBegin.setColumns(4);
                        panel35.add(resourcesDateBegin,
                                cc.xywh(5, 5, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                        //---- label_resourcesDateEnd ----
                        label_resourcesDateEnd.setText("End");
                        label_resourcesDateEnd.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesDateEnd, Resources.class,
                                Resources.PROPERTYNAME_DATE_END);
                        panel35.add(label_resourcesDateEnd, cc.xy(7, 5));

                        //---- resourcesDateEnd ----
                        resourcesDateEnd.setColumns(4);
                        panel35.add(resourcesDateEnd, new CellConstraints(9, 5, 1, 1, CellConstraints.FILL,
                                CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));

                        //---- BulkDatesLabel ----
                        BulkDatesLabel.setText("Bulk Dates");
                        BulkDatesLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel35.add(BulkDatesLabel, new CellConstraints(1, 7, 9, 1, CellConstraints.DEFAULT,
                                CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                        //---- label_resourcesBulkDateBegin ----
                        label_resourcesBulkDateBegin.setText("Begin");
                        label_resourcesBulkDateBegin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesBulkDateBegin, Resources.class,
                                Resources.PROPERTYNAME_BULK_DATE_BEGIN);
                        panel35.add(label_resourcesBulkDateBegin, cc.xy(3, 9));

                        //---- resourcesBulkDateBegin ----
                        resourcesBulkDateBegin.setColumns(4);
                        panel35.add(resourcesBulkDateBegin,
                                cc.xywh(5, 9, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                        //---- label_resourcesBulkDateEnd ----
                        label_resourcesBulkDateEnd.setText("End");
                        label_resourcesBulkDateEnd.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourcesBulkDateEnd, Resources.class,
                                Resources.PROPERTYNAME_BULK_DATE_END);
                        panel35.add(label_resourcesBulkDateEnd, cc.xy(7, 9));

                        //---- resourcesBulkDateEnd ----
                        resourcesBulkDateEnd.setColumns(4);
                        panel35.add(resourcesBulkDateEnd, new CellConstraints(9, 9, 1, 1, CellConstraints.FILL,
                                CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));
                    }
                    panel34.add(panel35, cc.xy(1, 1));
                }
                panel16.add(panel34, cc.xy(1, 3));

                //======== panel1 ========
                {
                    panel1.setOpaque(false);
                    panel1.setLayout(new FormLayout(
                            new ColumnSpec[] { new ColumnSpec(ColumnSpec.LEFT, Sizes.DEFAULT, FormSpec.NO_GROW),
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                    new ColumnSpec("left:min(default;200px)") },
                            RowSpec.decodeSpecs("default")));

                    //---- label_resourcesLanguageCode ----
                    label_resourcesLanguageCode.setText("Language");
                    label_resourcesLanguageCode.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesLanguageCode, Resources.class,
                            Resources.PROPERTYNAME_LANGUAGE_CODE);
                    panel1.add(label_resourcesLanguageCode, cc.xy(1, 1));

                    //---- resourcesLanguageCode ----
                    resourcesLanguageCode.setMaximumSize(new Dimension(50, 27));
                    resourcesLanguageCode.setOpaque(false);
                    resourcesLanguageCode.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel1.add(resourcesLanguageCode,
                            cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel16.add(panel1, cc.xy(1, 5));

                //---- label_resourcesLanguageNote ----
                label_resourcesLanguageNote.setText("Repository Processing Note");
                label_resourcesLanguageNote.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_resourcesLanguageNote, Resources.class,
                        Resources.PROPERTYNAME_REPOSITORY_PROCESSING_NOTE);
                panel16.add(label_resourcesLanguageNote, cc.xy(1, 7));

                //======== scrollPane423 ========
                {
                    scrollPane423.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane423.setOpaque(false);
                    scrollPane423.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                    //---- resourcesLanguageNote ----
                    resourcesLanguageNote.setRows(4);
                    resourcesLanguageNote.setLineWrap(true);
                    resourcesLanguageNote.setWrapStyleWord(true);
                    scrollPane423.setViewportView(resourcesLanguageNote);
                }
                panel16.add(scrollPane423, cc.xy(1, 9));

                //======== panel6 ========
                {
                    panel6.setOpaque(false);
                    panel6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel6.setLayout(
                            new FormLayout(
                                    new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC }));

                    //---- label_agreementReceived2 ----
                    label_agreementReceived2.setText("Repository");
                    label_agreementReceived2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_agreementReceived2, Resources.class,
                            Resources.PROPERTYNAME_REPOSITORY);
                    panel6.add(label_agreementReceived2, cc.xy(1, 1));

                    //---- repositoryName ----
                    repositoryName.setEditable(false);
                    repositoryName.setOpaque(false);
                    repositoryName.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    repositoryName.setBorder(null);
                    panel6.add(repositoryName, cc.xy(3, 1));

                    //---- changeRepositoryButton ----
                    changeRepositoryButton.setText("Change Repository");
                    changeRepositoryButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    changeRepositoryButton.setOpaque(false);
                    changeRepositoryButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            changeRepositoryButtonActionPerformed();
                        }
                    });
                    panel6.add(changeRepositoryButton,
                            cc.xywh(3, 3, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
                }
                panel16.add(panel6, cc.xy(1, 11));
            }
            basicInformationPanel.add(panel16,
                    cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

            //======== panel13 ========
            {
                panel13.setOpaque(false);
                panel13.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel13.setBorder(Borders.DLU2_BORDER);
                panel13.setLayout(new FormLayout("default:grow", "fill:default:grow"));

                //======== panel17 ========
                {
                    panel17.setOpaque(false);
                    panel17.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel17.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                            new RowSpec[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                    //======== panel12 ========
                    {
                        panel12.setBackground(new Color(231, 188, 251));
                        panel12.setOpaque(false);
                        panel12.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel12.setLayout(new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                RowSpec.decodeSpecs("default")));
                        ((FormLayout) panel12.getLayout()).setColumnGroups(new int[][] { { 3, 5, 7, 9 } });

                        //---- label_resourceIdentifier1 ----
                        label_resourceIdentifier1.setText("Resource ID");
                        label_resourceIdentifier1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_resourceIdentifier1, Resources.class,
                                Resources.PROPERTYNAME_RESOURCE_IDENTIFIER);
                        panel12.add(label_resourceIdentifier1, cc.xy(1, 1));
                        panel12.add(resourceIdentifier1, cc.xy(3, 1));
                        panel12.add(resourceIdentifier2, cc.xy(5, 1));
                        panel12.add(resourceIdentifier3, cc.xy(7, 1));
                        panel12.add(resourceIdentifier4, cc.xy(9, 1));
                    }
                    panel17.add(panel12, cc.xy(1, 1));

                    //======== panel42 ========
                    {
                        panel42.setBorder(new BevelBorder(BevelBorder.LOWERED));
                        panel42.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel42.setBackground(new Color(182, 187, 212));
                        panel42.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                                new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.RELATED_GAP_ROWSPEC }));

                        //======== panel43 ========
                        {
                            panel43.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel43.setOpaque(false);
                            panel43.setBorder(Borders.DLU2_BORDER);
                            panel43.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                            //---- OtherAccessionsLabel ----
                            OtherAccessionsLabel.setText("Accessions linked to this Resource ID:");
                            OtherAccessionsLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel43.add(OtherAccessionsLabel, cc.xy(1, 1));

                            //======== scrollPane4 ========
                            {
                                scrollPane4.setVerticalScrollBarPolicy(
                                        ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                                scrollPane4.setPreferredSize(new Dimension(300, 100));

                                //---- accessionsTable ----
                                accessionsTable.setPreferredScrollableViewportSize(new Dimension(300, 100));
                                accessionsTable.setFocusable(false);
                                scrollPane4.setViewportView(accessionsTable);
                            }
                            panel43.add(scrollPane4,
                                    cc.xywh(1, 3, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
                        }
                        panel42.add(panel43, cc.xy(1, 1));
                    }
                    panel17.add(panel42, cc.xy(1, 3));

                    //======== panel37 ========
                    {
                        panel37.setBorder(new BevelBorder(BevelBorder.LOWERED));
                        panel37.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel37.setBackground(new Color(182, 187, 212));
                        panel37.setLayout(new FormLayout("60px:grow", "fill:default:grow"));

                        //======== panel20 ========
                        {
                            panel20.setOpaque(false);
                            panel20.setBorder(Borders.DLU2_BORDER);
                            panel20.setLayout(new FormLayout(
                                    new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                            //---- ExtentLabel ----
                            ExtentLabel.setText("Extent");
                            ExtentLabel.setForeground(new Color(0, 0, 102));
                            ExtentLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel20.add(ExtentLabel, cc.xywh(1, 1, 2, 1));

                            //======== panel21 ========
                            {
                                panel21.setOpaque(false);
                                panel21.setLayout(new FormLayout(new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                        RowSpec.decodeSpecs("default")));

                                //---- label_resourcesExtentNumber ----
                                label_resourcesExtentNumber.setText("Extent");
                                label_resourcesExtentNumber.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                                ATFieldInfo.assignLabelInfo(label_resourcesExtentNumber, Resources.class,
                                        Resources.PROPERTYNAME_EXTENT_NUMBER);
                                panel21.add(label_resourcesExtentNumber,
                                        cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                                //---- resourcesExtentNumber ----
                                resourcesExtentNumber.setColumns(4);
                                panel21.add(resourcesExtentNumber,
                                        cc.xywh(3, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                                //---- extentType ----
                                extentType.setOpaque(false);
                                panel21.add(extentType, new CellConstraints(5, 1, 1, 1, CellConstraints.LEFT,
                                        CellConstraints.DEFAULT, new Insets(0, 5, 5, 5)));
                            }
                            panel20.add(panel21, cc.xy(2, 3));

                            //---- label_resourcesExtentDescription ----
                            label_resourcesExtentDescription.setText("Container Summary");
                            label_resourcesExtentDescription.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            ATFieldInfo.assignLabelInfo(label_resourcesExtentDescription, Resources.class,
                                    Resources.PROPERTYNAME_CONTAINER_SUMMARY);
                            panel20.add(label_resourcesExtentDescription, cc.xy(2, 5));

                            //======== scrollPane422 ========
                            {
                                scrollPane422.setVerticalScrollBarPolicy(
                                        ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                                scrollPane422.setOpaque(false);
                                scrollPane422.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                                //---- containerSummary ----
                                containerSummary.setRows(4);
                                containerSummary.setWrapStyleWord(true);
                                containerSummary.setLineWrap(true);
                                scrollPane422.setViewportView(containerSummary);
                            }
                            panel20.add(scrollPane422, new CellConstraints(1, 7, 2, 1, CellConstraints.DEFAULT,
                                    CellConstraints.FILL, new Insets(0, 15, 5, 5)));
                        }
                        panel37.add(panel20,
                                cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
                    }
                    panel17.add(panel37, cc.xywh(1, 5, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

                    //======== panel39 ========
                    {
                        panel39.setBorder(new BevelBorder(BevelBorder.LOWERED));
                        panel39.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel39.setBackground(new Color(182, 187, 212));
                        panel39.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                                new RowSpec[] { new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                        FormFactory.RELATED_GAP_ROWSPEC }));

                        //======== panel40 ========
                        {
                            panel40.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel40.setOpaque(false);
                            panel40.setBorder(Borders.DLU2_BORDER);
                            panel40.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                            //---- label1 ----
                            label1.setText("Instances");
                            label1.setForeground(new Color(0, 0, 102));
                            label1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            ATFieldInfo.assignLabelInfo(label1, Resources.class,
                                    ResourcesComponents.PROPERTYNAME_INSTANCES);
                            panel40.add(label1, cc.xy(1, 1));

                            //======== scrollPane6 ========
                            {
                                scrollPane6.setVerticalScrollBarPolicy(
                                        ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                                scrollPane6.setOpaque(false);

                                //---- instancesTable ----
                                instancesTable.setPreferredScrollableViewportSize(new Dimension(200, 75));
                                instancesTable.setRowHeight(20);
                                instancesTable.setFocusable(false);
                                instancesTable.addMouseListener(new MouseAdapter() {
                                    @Override
                                    public void mouseClicked(MouseEvent e) {
                                        instancesTableMouseClicked(e);
                                    }
                                });
                                scrollPane6.setViewportView(instancesTable);
                            }
                            panel40.add(scrollPane6,
                                    cc.xywh(1, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

                            //======== panel29 ========
                            {
                                panel29.setBackground(new Color(231, 188, 251));
                                panel29.setOpaque(false);
                                panel29.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                                panel29.setLayout(new FormLayout(new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                        RowSpec.decodeSpecs("default")));

                                //---- addInstanceButton ----
                                addInstanceButton.setText("Add Instance");
                                addInstanceButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                                addInstanceButton.setOpaque(false);
                                addInstanceButton.addActionListener(new ActionListener() {
                                    public void actionPerformed(ActionEvent e) {
                                        addInstanceButtonActionPerformed();
                                    }
                                });
                                panel29.add(addInstanceButton, cc.xy(1, 1));

                                //---- removeInstanceButton ----
                                removeInstanceButton.setText("Remove Instance");
                                removeInstanceButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                                removeInstanceButton.setOpaque(false);
                                removeInstanceButton.addActionListener(new ActionListener() {
                                    public void actionPerformed(ActionEvent e) {
                                        removeInstanceButtonActionPerformed();
                                    }
                                });
                                panel29.add(removeInstanceButton, cc.xy(3, 1));
                            }
                            panel40.add(panel29,
                                    cc.xywh(1, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
                        }
                        panel39.add(panel40, cc.xy(1, 1));
                    }
                    panel17.add(panel39, cc.xywh(1, 7, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

                    //======== panel2 ========
                    {
                        panel2.setOpaque(false);
                        panel2.setLayout(new FormLayout("default", "default"));

                        //---- restrictionsApply ----
                        restrictionsApply.setText("Restrictions Apply");
                        restrictionsApply.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        restrictionsApply.setOpaque(false);
                        restrictionsApply.setText(ATFieldInfo.getLabel(Resources.class,
                                ArchDescription.PROPERTYNAME_RESTRICTIONS_APPLY));
                        panel2.add(restrictionsApply, cc.xy(1, 1));
                    }
                    panel17.add(panel2, cc.xy(1, 9));
                }
                panel13.add(panel17, cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
            }
            basicInformationPanel.add(panel13,
                    cc.xywh(5, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

            //---- separator2 ----
            separator2.setForeground(new Color(147, 131, 86));
            separator2.setOrientation(SwingConstants.VERTICAL);
            basicInformationPanel.add(separator2,
                    cc.xywh(3, 1, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Basic Description", basicInformationPanel);

        //======== namesPanel ========
        {
            namesPanel.setBackground(new Color(200, 205, 232));
            namesPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));
            ((FormLayout) namesPanel.getLayout()).setRowGroups(new int[][] { { 3, 11 } });

            //---- SubjectsLabel2 ----
            SubjectsLabel2.setText("Names");
            SubjectsLabel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.add(SubjectsLabel2, cc.xy(1, 1));

            //======== scrollPane1 ========
            {
                scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane1.setPreferredSize(new Dimension(600, 320));

                //---- namesTable ----
                namesTable.setFocusable(false);
                namesTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        namesTableMouseClicked(e);
                    }
                });
                scrollPane1.setViewportView(namesTable);
            }
            namesPanel.add(scrollPane1, cc.xywh(1, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

            //======== panel8 ========
            {
                panel8.setBackground(new Color(231, 188, 251));
                panel8.setOpaque(false);
                panel8.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel8.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- editNameRelationshipButton ----
                editNameRelationshipButton.setText("Edit Name Link");
                editNameRelationshipButton.setOpaque(false);
                editNameRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                editNameRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        editNameRelationshipButtonActionPerformed();
                    }
                });
                panel8.add(editNameRelationshipButton, cc.xy(1, 1));

                //---- addNameRelationshipButton ----
                addNameRelationshipButton.setBackground(new Color(231, 188, 251));
                addNameRelationshipButton.setText("Add Name Link");
                addNameRelationshipButton.setOpaque(false);
                addNameRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addNameRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addNameRelationshipButtonActionPerformed();
                    }
                });
                panel8.add(addNameRelationshipButton, cc.xy(3, 1));

                //---- removeNameRelationshipButton ----
                removeNameRelationshipButton.setBackground(new Color(231, 188, 251));
                removeNameRelationshipButton.setText("Remove Name Link");
                removeNameRelationshipButton.setOpaque(false);
                removeNameRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeNameRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeNameRelationshipButtonActionPerformed();
                    }
                });
                panel8.add(removeNameRelationshipButton, cc.xy(5, 1));
            }
            namesPanel.add(panel8, cc.xywh(1, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //---- separator5 ----
            separator5.setBackground(new Color(220, 220, 232));
            separator5.setForeground(new Color(147, 131, 86));
            separator5.setMinimumSize(new Dimension(1, 10));
            separator5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.add(separator5, cc.xy(1, 7));

            //---- SubjectsLabel ----
            SubjectsLabel.setText("Subjects");
            SubjectsLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            namesPanel.add(SubjectsLabel, cc.xy(1, 9));

            //======== scrollPane3 ========
            {
                scrollPane3.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);

                //---- subjectsTable ----
                subjectsTable.setFocusable(false);
                scrollPane3.setViewportView(subjectsTable);
            }
            namesPanel.add(scrollPane3, cc.xy(1, 11));

            //======== panel11 ========
            {
                panel11.setBackground(new Color(231, 188, 251));
                panel11.setOpaque(false);
                panel11.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel11.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addSubjectRelationshipButton ----
                addSubjectRelationshipButton.setText("Add Subject Link");
                addSubjectRelationshipButton.setOpaque(false);
                addSubjectRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addSubjectRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addSubjectRelationshipButtonActionPerformed();
                    }
                });
                panel11.add(addSubjectRelationshipButton, cc.xy(1, 1));

                //---- removeSubjectRelationshipButton ----
                removeSubjectRelationshipButton.setText("Remove Subject Link");
                removeSubjectRelationshipButton.setOpaque(false);
                removeSubjectRelationshipButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeSubjectRelationshipButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeSubjectRelationshipButtonActionPerformed();
                    }
                });
                panel11.add(removeSubjectRelationshipButton, cc.xy(3, 1));
            }
            namesPanel.add(panel11, cc.xywh(1, 13, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Names & Subjects", namesPanel);

        //======== notesPanel ========
        {
            notesPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            notesPanel.setBackground(new Color(200, 205, 232));
            notesPanel.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //---- SubjectsLabel3 ----
            SubjectsLabel3.setText("Notes etc.");
            SubjectsLabel3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            notesPanel.add(SubjectsLabel3, cc.xy(1, 1));

            //======== scrollPane5 ========
            {
                scrollPane5.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                //---- repeatingDataTable ----
                repeatingDataTable.setFocusable(false);
                repeatingDataTable.setDragEnabled(true);
                repeatingDataTable.setPreferredScrollableViewportSize(new Dimension(450, 200));
                repeatingDataTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        repeatingDataTableMouseClicked(e);
                    }
                });
                scrollPane5.setViewportView(repeatingDataTable);
            }
            notesPanel.add(scrollPane5, cc.xy(1, 3));

            //======== panel14 ========
            {
                panel14.setBackground(new Color(231, 188, 251));
                panel14.setOpaque(false);
                panel14.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel14.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default:grow")));

                //---- addNoteEtcComboBox ----
                addNoteEtcComboBox.setOpaque(false);
                addNoteEtcComboBox.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addNoteEtcComboBoxActionPerformed(e);
                    }
                });
                panel14.add(addNoteEtcComboBox, cc.xy(1, 1));

                //---- removeNotesEtcButton ----
                removeNotesEtcButton.setText("Remove Note etc.");
                removeNotesEtcButton.setOpaque(false);
                removeNotesEtcButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeNotesEtcButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeNotesEtcButtonActionPerformed();
                    }
                });
                panel14.add(removeNotesEtcButton, cc.xy(3, 1));
            }
            notesPanel.add(panel14, cc.xywh(1, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //---- separator6 ----
            separator6.setBackground(new Color(220, 220, 232));
            separator6.setForeground(new Color(147, 131, 86));
            separator6.setMinimumSize(new Dimension(1, 10));
            separator6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            notesPanel.add(separator6, cc.xy(1, 7));

            //---- label_repositoryName3 ----
            label_repositoryName3.setText("Deaccessions");
            label_repositoryName3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            notesPanel.add(label_repositoryName3, cc.xy(1, 9));

            //======== scrollPane7 ========
            {
                scrollPane7.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane7.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                //---- deaccessionsTable ----
                deaccessionsTable.setPreferredScrollableViewportSize(new Dimension(450, 100));
                deaccessionsTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        deaccessionsTableMouseClicked(e);
                    }
                });
                scrollPane7.setViewportView(deaccessionsTable);
            }
            notesPanel.add(scrollPane7, cc.xy(1, 11));

            //======== panel33 ========
            {
                panel33.setBackground(new Color(231, 188, 251));
                panel33.setOpaque(false);
                panel33.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel33.setLayout(
                        new FormLayout(
                                new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                                RowSpec.decodeSpecs("default")));

                //---- addDeaccessions ----
                addDeaccessions.setBackground(new Color(231, 188, 251));
                addDeaccessions.setText("Add Deaccession");
                addDeaccessions.setOpaque(false);
                addDeaccessions.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                addDeaccessions.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        addDeaccessionsActionPerformed();
                    }
                });
                panel33.add(addDeaccessions, cc.xy(1, 1));

                //---- removeDeaccession ----
                removeDeaccession.setBackground(new Color(231, 188, 251));
                removeDeaccession.setText("Remove Deaccession");
                removeDeaccession.setOpaque(false);
                removeDeaccession.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removeDeaccession.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removeDeaccessionActionPerformed();
                    }
                });
                panel33.add(removeDeaccession, cc.xy(3, 1));
            }
            notesPanel.add(panel33, cc.xywh(1, 13, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Notes Etc. & Deaccessions", notesPanel);

        //======== basicInformationPanel2 ========
        {
            basicInformationPanel2.setBackground(new Color(200, 205, 232));
            basicInformationPanel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            basicInformationPanel2.setLayout(new FormLayout(
                    new ColumnSpec[] { new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, 0.5),
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec("left:max(default;300px):grow(0.5)") },
                    RowSpec.decodeSpecs("fill:default:grow")));
            ((FormLayout) basicInformationPanel2.getLayout()).setColumnGroups(new int[][] { { 1, 5 } });

            //======== panel30 ========
            {
                panel30.setOpaque(false);
                panel30.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel30.setLayout(new FormLayout("default:grow", "fill:default:grow"));

                //======== panel9 ========
                {
                    panel9.setOpaque(false);
                    panel9.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel9.setBorder(Borders.DLU2_BORDER);
                    panel9.setLayout(
                            new FormLayout(
                                    new ColumnSpec[] { FormFactory.PREF_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                            FormFactory.LINE_GAP_ROWSPEC,
                                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                    //---- label6 ----
                    label6.setText("EAD FA Unique Identifier");
                    label6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label6, Resources.class,
                            Resources.PROPERTYNAME_EAD_FA_UNIQUE_IDENTIFIER);
                    panel9.add(label6, cc.xywh(1, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                    panel9.add(eadIdentifier5,
                            cc.xywh(3, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

                    //---- label15 ----
                    label15.setText("EAD Location");
                    label15.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label15, Resources.class,
                            Resources.PROPERTYNAME_EAD_FA_LOCATION);
                    panel9.add(label15, cc.xywh(1, 3, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                    panel9.add(eadIdentifier13,
                            cc.xywh(3, 3, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

                    //---- label7 ----
                    label7.setText("Finding Aid Title");
                    label7.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label7, Resources.class,
                            Resources.PROPERTYNAME_FINDING_AID_TITLE);
                    panel9.add(label7, cc.xywh(1, 5, 3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane45 ========
                    {
                        scrollPane45.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane45.setPreferredSize(new Dimension(300, 68));
                        scrollPane45.setOpaque(false);
                        scrollPane45.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- findingAidTitle ----
                        findingAidTitle.setRows(4);
                        findingAidTitle.setLineWrap(true);
                        findingAidTitle.setWrapStyleWord(true);
                        findingAidTitle.setMinimumSize(new Dimension(200, 16));
                        scrollPane45.setViewportView(findingAidTitle);
                    }
                    panel9.add(scrollPane45, cc.xywh(1, 7, 3, 1));

                    //---- label8 ----
                    label8.setText("Finding Aid Subtitle");
                    label8.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label8, Resources.class,
                            Resources.PROPERTYNAME_FINDING_AID_SUBTITLE);
                    panel9.add(label8, cc.xywh(1, 9, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane46 ========
                    {
                        scrollPane46.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane46.setPreferredSize(new Dimension(300, 68));
                        scrollPane46.setOpaque(false);
                        scrollPane46.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- findingAidSubtitle ----
                        findingAidSubtitle.setRows(4);
                        findingAidSubtitle.setLineWrap(true);
                        findingAidSubtitle.setWrapStyleWord(true);
                        findingAidSubtitle.setMinimumSize(new Dimension(200, 16));
                        scrollPane46.setViewportView(findingAidSubtitle);
                    }
                    panel9.add(scrollPane46, cc.xywh(1, 11, 3, 1));

                    //---- label2 ----
                    label2.setText("Finding Aid Filing Title");
                    label2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label2, Resources.class,
                            Resources.PROPERTYNAME_FINDING_AID_FILING_TITLE);
                    panel9.add(label2, cc.xy(1, 13));

                    //======== scrollPane8 ========
                    {

                        //---- findingAidFilingTitle ----
                        findingAidFilingTitle.setRows(4);
                        findingAidFilingTitle.setLineWrap(true);
                        findingAidFilingTitle.setWrapStyleWord(true);
                        scrollPane8.setViewportView(findingAidFilingTitle);
                    }
                    panel9.add(scrollPane8, cc.xywh(1, 15, 3, 1));

                    //---- label9 ----
                    label9.setText("Finding Aid Date");
                    label9.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label9, Resources.class,
                            Resources.PROPERTYNAME_FINDING_AID_DATE);
                    panel9.add(label9, cc.xywh(1, 17, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                    panel9.add(eadIdentifier10,
                            cc.xywh(3, 17, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

                    //---- label10 ----
                    label10.setText("Author");
                    label10.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label10, Resources.class, Resources.PROPERTYNAME_AUTHOR);
                    panel9.add(label10, cc.xywh(1, 19, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane47 ========
                    {
                        scrollPane47.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane47.setPreferredSize(new Dimension(300, 68));
                        scrollPane47.setOpaque(false);
                        scrollPane47.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- author ----
                        author.setRows(4);
                        author.setLineWrap(true);
                        author.setWrapStyleWord(true);
                        author.setMinimumSize(new Dimension(200, 16));
                        scrollPane47.setViewportView(author);
                    }
                    panel9.add(scrollPane47, cc.xywh(1, 21, 3, 1));

                    //---- label11 ----
                    label11.setText("Description Rules");
                    label11.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label11, Resources.class,
                            Resources.PROPERTYNAME_DESCRIPTION_RULES);
                    panel9.add(label11, cc.xywh(1, 23, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //---- extentType2 ----
                    extentType2.setOpaque(false);
                    extentType2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel9.add(extentType2,
                            cc.xywh(1, 25, 3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //---- label12 ----
                    label12.setText("Language of Finding Aid");
                    label12.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label12, Resources.class,
                            Resources.PROPERTYNAME_LANGUAGE_OF_FINDING_AID);
                    panel9.add(label12, cc.xywh(1, 27, 3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane48 ========
                    {
                        scrollPane48.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane48.setPreferredSize(new Dimension(300, 68));
                        scrollPane48.setOpaque(false);
                        scrollPane48.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- languageOfFindingAid ----
                        languageOfFindingAid.setRows(4);
                        languageOfFindingAid.setLineWrap(true);
                        languageOfFindingAid.setWrapStyleWord(true);
                        languageOfFindingAid.setMinimumSize(new Dimension(200, 16));
                        scrollPane48.setViewportView(languageOfFindingAid);
                    }
                    panel9.add(scrollPane48, cc.xywh(1, 29, 3, 1));
                }
                panel30.add(panel9, cc.xy(1, 1));
            }
            basicInformationPanel2.add(panel30, cc.xy(1, 1));

            //---- separator1 ----
            separator1.setForeground(new Color(147, 131, 86));
            separator1.setOrientation(SwingConstants.VERTICAL);
            basicInformationPanel2.add(separator1,
                    cc.xywh(3, 1, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //======== panel41 ========
            {
                panel41.setOpaque(false);
                panel41.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel41.setBorder(Borders.DLU2_BORDER);
                panel41.setLayout(new FormLayout("left:default:grow", "fill:default:grow"));

                //======== panel31 ========
                {
                    panel31.setOpaque(false);
                    panel31.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel31.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.PREF_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                    FormFactory.LINE_GAP_ROWSPEC,
                                    new RowSpec(RowSpec.BOTTOM, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                    //---- label_resourcesTitle2 ----
                    label_resourcesTitle2.setText("Sponsor Note");
                    label_resourcesTitle2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesTitle2, Resources.class,
                            Resources.PROPERTYNAME_SPONSOR_NOTE);
                    panel31.add(label_resourcesTitle2, cc.xy(1, 1));

                    //======== scrollPane43 ========
                    {
                        scrollPane43.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane43.setPreferredSize(new Dimension(300, 68));
                        scrollPane43.setOpaque(false);
                        scrollPane43.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- sponsorNote ----
                        sponsorNote.setRows(4);
                        sponsorNote.setLineWrap(true);
                        sponsorNote.setWrapStyleWord(true);
                        sponsorNote.setMinimumSize(new Dimension(200, 16));
                        scrollPane43.setViewportView(sponsorNote);
                    }
                    panel31.add(scrollPane43, cc.xywh(1, 3, 3, 1));

                    //---- label13 ----
                    label13.setText("Edition Statement");
                    label13.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label13, Resources.class,
                            Resources.PROPERTYNAME_EDITION_STATEMENT);
                    panel31.add(label13, cc.xywh(1, 5, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane49 ========
                    {
                        scrollPane49.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane49.setPreferredSize(new Dimension(300, 68));
                        scrollPane49.setOpaque(false);
                        scrollPane49.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- editionStatement ----
                        editionStatement.setRows(4);
                        editionStatement.setLineWrap(true);
                        editionStatement.setWrapStyleWord(true);
                        editionStatement.setMinimumSize(new Dimension(200, 16));
                        scrollPane49.setViewportView(editionStatement);
                    }
                    panel31.add(scrollPane49, cc.xywh(1, 7, 3, 1));

                    //---- label14 ----
                    label14.setText("Series");
                    label14.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label14, Resources.class, Resources.PROPERTYNAME_SERIES);
                    panel31.add(label14, cc.xywh(1, 9, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane50 ========
                    {
                        scrollPane50.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane50.setPreferredSize(new Dimension(300, 68));
                        scrollPane50.setOpaque(false);
                        scrollPane50.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- series ----
                        series.setRows(4);
                        series.setLineWrap(true);
                        series.setWrapStyleWord(true);
                        series.setMinimumSize(new Dimension(200, 16));
                        scrollPane50.setViewportView(series);
                    }
                    panel31.add(scrollPane50, cc.xywh(1, 11, 3, 1));

                    //---- label16 ----
                    label16.setText("Revision Date");
                    label16.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label16, Resources.class, Resources.PROPERTYNAME_REVISION_DATE);
                    panel31.add(label16, cc.xywh(1, 13, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                    panel31.add(eadIdentifier15,
                            cc.xywh(3, 13, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

                    //---- label17 ----
                    label17.setText("Revision Description");
                    label17.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label17, Resources.class,
                            Resources.PROPERTYNAME_REVISION_DESCRIPTION);
                    panel31.add(label17, cc.xywh(1, 15, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== scrollPane51 ========
                    {
                        scrollPane51.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane51.setPreferredSize(new Dimension(300, 68));
                        scrollPane51.setOpaque(false);
                        scrollPane51.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- revisionDescription ----
                        revisionDescription.setRows(4);
                        revisionDescription.setLineWrap(true);
                        revisionDescription.setWrapStyleWord(true);
                        revisionDescription.setMinimumSize(new Dimension(200, 16));
                        scrollPane51.setViewportView(revisionDescription);
                    }
                    panel31.add(scrollPane51, cc.xywh(1, 17, 3, 1));

                    //---- label18 ----
                    label18.setText("Finding Aid Status");
                    label18.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label18, Resources.class,
                            Resources.PROPERTYNAME_FINDING_AID_STATUS);
                    panel31.add(label18, cc.xywh(1, 19, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                    //======== panel3 ========
                    {
                        panel3.setOpaque(false);
                        panel3.setLayout(new FormLayout("min(default;200px)", "default"));

                        //---- extentType3 ----
                        extentType3.setOpaque(false);
                        extentType3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        extentType3.setMaximumSize(new Dimension(100, 32767));
                        panel3.add(extentType3, cc.xy(1, 1));
                    }
                    panel31.add(panel3, cc.xy(3, 19));

                    //---- label_resourcesTitle3 ----
                    label_resourcesTitle3.setText("Finding Aid Note");
                    label_resourcesTitle3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourcesTitle3, Resources.class,
                            Resources.PROPERTYNAME_FINDING_AID_NOTE);
                    panel31.add(label_resourcesTitle3, cc.xy(1, 21));

                    //======== scrollPane44 ========
                    {
                        scrollPane44.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                        scrollPane44.setPreferredSize(new Dimension(300, 68));
                        scrollPane44.setOpaque(false);
                        scrollPane44.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

                        //---- sponsorNote2 ----
                        sponsorNote2.setRows(4);
                        sponsorNote2.setLineWrap(true);
                        sponsorNote2.setWrapStyleWord(true);
                        sponsorNote2.setMinimumSize(new Dimension(200, 16));
                        scrollPane44.setViewportView(sponsorNote2);
                    }
                    panel31.add(scrollPane44, cc.xywh(1, 23, 3, 1));
                }
                panel41.add(panel31, cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
            }
            basicInformationPanel2.add(panel41,
                    cc.xywh(5, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Finding Aid Data", basicInformationPanel2);

    }
    add(tabbedPane, cc.xywh(1, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
    instancesTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
}

From source file:org.archiviststoolkit.editor.ResourceTreeViewer.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel6 = new JPanel();
    label2 = new JLabel();
    resourceTitle = new JTextField();
    label3 = new JLabel();
    resourceIdentifier = new JTextField();
    splitPane = new JSplitPane();
    scrollPane = new JScrollPane();
    panel2 = new JPanel();
    addChildButton = new JButton();
    addSiblingBelowButton = new JButton();
    rapidDataentryScreens = ATBasicComponentFactory
            .createUnboundComboBox(RDEFactory.getInstance().getRDEContainerTitles());
    deleteComponentButton = new JButton();
    transferComponentsButton = new JButton();
    manageLocationsButton = new JButton();
    exportEAD = new JButton();
    exportMARC = new JButton();
    exportContainerLabels = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setPreferredSize(new Dimension(1050, 565));
    setOpaque(false);//  w w  w  . jav  a 2s .  co  m
    setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    setRequestFocusEnabled(false);
    setLayout(new FormLayout("default:grow", "default, top:default:grow, fill:default"));

    //======== panel6 ========
    {
        panel6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        panel6.setBackground(new Color(200, 205, 232));
        panel6.setLayout(new FormLayout(
                new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                        FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                        FormFactory.DEFAULT_COLSPEC, FormFactory.UNRELATED_GAP_COLSPEC },
                RowSpec.decodeSpecs("default")));

        //---- label2 ----
        label2.setText("Title: ");
        label2.setForeground(new Color(0, 0, 102));
        label2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        panel6.add(label2, cc.xy(3, 1));

        //---- resourceTitle ----
        resourceTitle.setEditable(false);
        resourceTitle.setOpaque(false);
        resourceTitle.setBorder(null);
        panel6.add(resourceTitle, cc.xywh(5, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

        //---- label3 ----
        label3.setText("Resource Identifier: ");
        label3.setForeground(new Color(0, 0, 102));
        label3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        label3.setHorizontalAlignment(SwingConstants.LEFT);
        panel6.add(label3, cc.xy(7, 1));

        //---- resourceIdentifier ----
        resourceIdentifier.setEditable(false);
        resourceIdentifier.setOpaque(false);
        resourceIdentifier.setBorder(null);
        resourceIdentifier.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        resourceIdentifier.setHorizontalAlignment(SwingConstants.RIGHT);
        panel6.add(resourceIdentifier, cc.xywh(10, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
    }
    add(panel6, cc.xy(1, 1));

    //======== splitPane ========
    {
        splitPane.setDividerLocation(300);
        splitPane.setLastDividerLocation(300);
        splitPane.setOpaque(false);
        splitPane.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));

        //======== scrollPane ========
        {
            scrollPane.setPreferredSize(new Dimension(250, 384));
            scrollPane.setMinimumSize(new Dimension(250, 384));
            scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
            scrollPane.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        }
        splitPane.setLeftComponent(scrollPane);
    }
    add(splitPane, cc.xywh(1, 2, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

    //======== panel2 ========
    {
        panel2.setOpaque(false);
        panel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        panel2.setLayout(new FormLayout(new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                RowSpec.decodeSpecs("default")));

        //---- addChildButton ----
        addChildButton.setOpaque(false);
        addChildButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        addChildButton.setIcon(
                new ImageIcon(getClass().getResource("/org/archiviststoolkit/resources/images/addChild.jpg")));
        addChildButton.setToolTipText("Add Child");
        addChildButton.setText("<html><c>Add<br>Child</c></html>");
        addChildButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                addChildActionPerformed(e);
            }
        });
        panel2.add(addChildButton, cc.xy(1, 1));

        //---- addSiblingBelowButton ----
        addSiblingBelowButton.setOpaque(false);
        addSiblingBelowButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        addSiblingBelowButton.setIcon(new ImageIcon(
                getClass().getResource("/org/archiviststoolkit/resources/images/addSibling.png")));
        addSiblingBelowButton.setToolTipText("Add Sibling");
        addSiblingBelowButton.setText("<html>Add<br>Sibling</html>");
        addSiblingBelowButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                addSiblingBelowActionPerformed(e);
            }
        });
        panel2.add(addSiblingBelowButton, cc.xy(3, 1));

        //---- rapidDataentryScreens ----
        rapidDataentryScreens.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                rapidDataentryScreensActionPerformed(e);
            }
        });
        panel2.add(rapidDataentryScreens, cc.xy(5, 1));

        //---- deleteComponentButton ----
        deleteComponentButton.setOpaque(false);
        deleteComponentButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        deleteComponentButton.setIcon(
                new ImageIcon(getClass().getResource("/org/archiviststoolkit/resources/images/delete.jpg")));
        deleteComponentButton.setToolTipText("Delete Component");
        deleteComponentButton.setText("<html>Delete<br>Component</html>");
        deleteComponentButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                deleteComponentActionPerformed(e);
            }
        });
        panel2.add(deleteComponentButton, cc.xy(7, 1));

        //---- transferComponentsButton ----
        transferComponentsButton.setOpaque(false);
        transferComponentsButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        transferComponentsButton.setIcon(
                new ImageIcon(getClass().getResource("/org/archiviststoolkit/resources/images/transfer.png")));
        transferComponentsButton.setToolTipText("Transfer Components");
        transferComponentsButton.setText("Transfer");
        transferComponentsButton.setSelectedIcon(null);
        transferComponentsButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                transferComponentsButtonActionPerformed(e);
            }
        });
        panel2.add(transferComponentsButton, cc.xy(9, 1));

        //---- manageLocationsButton ----
        manageLocationsButton.setText("<html>Manage<br>Locations</html>");
        manageLocationsButton.setOpaque(false);
        manageLocationsButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        manageLocationsButton.setIcon(new ImageIcon(
                getClass().getResource("/org/archiviststoolkit/resources/images/manageLocations.png")));
        manageLocationsButton.setToolTipText("Manage Locations");
        manageLocationsButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                manageLocationsButtonActionPerformed(e);
            }
        });
        panel2.add(manageLocationsButton, cc.xy(11, 1));

        //---- exportEAD ----
        exportEAD.setOpaque(false);
        exportEAD.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        exportEAD.setIcon(
                new ImageIcon(getClass().getResource("/org/archiviststoolkit/resources/images/exportEAD.jpg")));
        exportEAD.setToolTipText("Export EAD");
        exportEAD.setText("<html>Export<br>EAD</html>");
        exportEAD.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                exportEADActionPerformed(e);
            }
        });
        panel2.add(exportEAD, cc.xywh(13, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

        //---- exportMARC ----
        exportMARC.setOpaque(false);
        exportMARC.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        exportMARC.setIcon(new ImageIcon(
                getClass().getResource("/org/archiviststoolkit/resources/images/exportMARC.jpg")));
        exportMARC.setToolTipText("Export MARC");
        exportMARC.setText("<html>Export<br>MARC</html>");
        exportMARC.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                exportMARCActionPerformed(e);
            }
        });
        panel2.add(exportMARC, cc.xywh(15, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

        //---- exportContainerLabels ----
        exportContainerLabels.setOpaque(false);
        exportContainerLabels.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        exportContainerLabels.setIcon(
                new ImageIcon(getClass().getResource("/org/archiviststoolkit/resources/images/export.png")));
        exportContainerLabels.setToolTipText("Export Container Labels");
        exportContainerLabels.setText("<html>Export<br>Cont. Labels</html>");
        exportContainerLabels.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                exportContainerLabelsActionPerformed(e);
            }
        });
        panel2.add(exportContainerLabels, cc.xywh(17, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
    }
    add(panel2, cc.xy(1, 3));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}