Example usage for com.jgoodies.forms.layout Sizes DEFAULT

List of usage examples for com.jgoodies.forms.layout Sizes DEFAULT

Introduction

In this page you can find the example usage for com.jgoodies.forms.layout Sizes DEFAULT.

Prototype

ComponentSize DEFAULT

To view the source code for com.jgoodies.forms.layout Sizes DEFAULT.

Click Source Link

Document

Use the maximum of all component sizes as column or row size; measures preferred sizes when asked for the preferred size and minimum sizes when asked for the minimum size.

Usage

From source file:org.archiviststoolkit.dialog.ReportDialog.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    dialogPane = new JPanel();
    HeaderPanel = new JPanel();
    mainHeaderPanel = new JPanel();
    mainHeaderLabel = new JLabel();
    subHeaderPanel = new JPanel();
    subHeaderLabel = new JLabel();
    mainPanel = new JPanel();
    buttonBar = new JPanel();
    openReportFileButton = new JButton();
    cancelButton = new JButton();
    previewButton = new JButton();
    printButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setModal(true);/*from  w  w  w. j a v  a  2  s . c  o m*/
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {
        dialogPane.setBorder(null);
        dialogPane.setBackground(new Color(200, 205, 232));
        dialogPane.setLayout(new BorderLayout());

        //======== HeaderPanel ========
        {
            HeaderPanel.setBackground(new Color(80, 69, 57));
            HeaderPanel.setOpaque(false);
            HeaderPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            HeaderPanel.setPreferredSize(new Dimension(300, 30));
            HeaderPanel
                    .setLayout(
                            new FormLayout(
                                    new ColumnSpec[] {
                                            new ColumnSpec(Sizes.bounded(Sizes.MINIMUM, Sizes.dluX(100),
                                                    Sizes.dluX(200))),
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("fill:default")));

            //======== mainHeaderPanel ========
            {
                mainHeaderPanel.setBackground(new Color(80, 69, 57));
                mainHeaderPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                mainHeaderPanel.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                        new RowSpec[] { FormFactory.RELATED_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.RELATED_GAP_ROWSPEC }));

                //---- mainHeaderLabel ----
                mainHeaderLabel.setText("Main Header");
                mainHeaderLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 18));
                mainHeaderLabel.setForeground(Color.white);
                mainHeaderPanel.add(mainHeaderLabel, cc.xy(2, 2));
            }
            HeaderPanel.add(mainHeaderPanel, cc.xy(1, 1));

            //======== subHeaderPanel ========
            {
                subHeaderPanel.setBackground(new Color(66, 60, 111));
                subHeaderPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                subHeaderPanel
                        .setLayout(
                                new FormLayout(
                                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                        FormSpec.DEFAULT_GROW) },
                                        new RowSpec[] { FormFactory.RELATED_GAP_ROWSPEC,
                                                FormFactory.DEFAULT_ROWSPEC,
                                                FormFactory.RELATED_GAP_ROWSPEC }));

                //---- subHeaderLabel ----
                subHeaderLabel.setText("Reports");
                subHeaderLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 18));
                subHeaderLabel.setForeground(Color.white);
                subHeaderPanel.add(subHeaderLabel, cc.xy(2, 2));
            }
            HeaderPanel.add(subHeaderPanel, cc.xy(2, 1));
        }
        dialogPane.add(HeaderPanel, BorderLayout.NORTH);

        //======== mainPanel ========
        {
            mainPanel.setOpaque(false);
            mainPanel.setBorder(Borders.DIALOG_BORDER);
            mainPanel.setLayout(new BorderLayout());

            //======== buttonBar ========
            {
                buttonBar.setBorder(Borders.BUTTON_BAR_GAP_BORDER);
                buttonBar.setOpaque(false);
                buttonBar.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                FormFactory.GLUE_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC,
                                FormFactory.RELATED_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC },
                        RowSpec.decodeSpecs("pref")));

                //---- openReportFileButton ----
                openReportFileButton.setText("Load Report Definition File");
                openReportFileButton.setOpaque(false);
                openReportFileButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        openReportFileButtonActionPerformed();
                    }
                });
                buttonBar.add(openReportFileButton, cc.xy(4, 1));

                //---- cancelButton ----
                cancelButton.setText("Cancel");
                cancelButton.setOpaque(false);
                cancelButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        cancelButtonActionPerformed();
                    }
                });
                buttonBar.add(cancelButton, cc.xy(6, 1));

                //---- previewButton ----
                previewButton.setText("Preview");
                previewButton.setOpaque(false);
                previewButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        previewButtonActionPerformed();
                    }
                });
                buttonBar.add(previewButton, cc.xy(8, 1));

                //---- printButton ----
                printButton.setText("Print");
                printButton.setOpaque(false);
                printButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        printButtonActionPerformed();
                    }
                });
                buttonBar.add(printButton, cc.xy(10, 1));
            }
            mainPanel.add(buttonBar, BorderLayout.SOUTH);
        }
        dialogPane.add(mainPanel, BorderLayout.CENTER);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.dialog.ReportDialogFields.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    label1 = new JLabel();
    reportList = new JComboBox();
    reportHeaderPanel = new JPanel();
    label2 = new JLabel();
    reportHeader = new JTextField();
    findingAidOptionsPanel = new JPanel();
    suppressInternalOnly = new JCheckBox();
    panel1 = new JPanel();
    includeDaos = new JCheckBox();
    useDOIDAsHREF = new JCheckBox();
    label3 = new JLabel();
    outputOptions = new JComboBox();
    label4 = new JLabel();
    scrollPane1 = new JScrollPane();
    reportDescription = new JTextArea();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setOpaque(false);// ww w.j a  v a  2s. c  o  m
    setPreferredSize(new Dimension(600, 171));
    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, FormFactory.DEFAULT_ROWSPEC,
                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                    new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

    //---- label1 ----
    label1.setText("Select Report");
    add(label1, cc.xy(1, 1));

    //---- reportList ----
    reportList.setOpaque(false);
    reportList.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            reportListActionPerformed();
        }
    });
    add(reportList, cc.xywh(3, 1, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

    //======== reportHeaderPanel ========
    {
        reportHeaderPanel.setOpaque(false);
        reportHeaderPanel.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")));

        //---- label2 ----
        label2.setText("Report Header");
        reportHeaderPanel.add(label2, cc.xy(1, 1));
        reportHeaderPanel.add(reportHeader, cc.xy(3, 1));
    }
    add(reportHeaderPanel, cc.xywh(1, 3, 3, 1));

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

        //---- suppressInternalOnly ----
        suppressInternalOnly
                .setText("<html>Suppress components and notes <br>when marked \"internal only\"? </html>");
        suppressInternalOnly.setVerticalAlignment(SwingConstants.TOP);
        suppressInternalOnly.setOpaque(false);
        findingAidOptionsPanel.add(suppressInternalOnly, cc.xy(1, 1));

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

            //---- includeDaos ----
            includeDaos.setText(" Include DAO's in output?");
            includeDaos.setOpaque(false);
            panel1.add(includeDaos, cc.xy(1, 1));

            //---- useDOIDAsHREF ----
            useDOIDAsHREF.setText("Use Digital Object ID as HREF?");
            panel1.add(useDOIDAsHREF, cc.xy(1, 3));
        }
        findingAidOptionsPanel.add(panel1, cc.xy(3, 1));
    }
    add(findingAidOptionsPanel, cc.xywh(1, 5, 3, 1));

    //---- label3 ----
    label3.setText("Select Output");
    add(label3, cc.xy(1, 7));

    //---- outputOptions ----
    outputOptions.setOpaque(false);
    outputOptions.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            outputOptionsActionPerformed();
        }
    });
    add(outputOptions, cc.xywh(3, 7, 1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

    //---- label4 ----
    label4.setText("Report Description");
    add(label4, cc.xy(1, 9));

    //======== scrollPane1 ========
    {
        scrollPane1.setBorder(null);
        scrollPane1.setOpaque(false);

        //---- reportDescription ----
        reportDescription.setRows(5);
        reportDescription.setBorder(null);
        reportDescription.setOpaque(false);
        reportDescription.setEditable(false);
        reportDescription.setDragEnabled(false);
        reportDescription.setFocusable(false);
        reportDescription.setWrapStyleWord(true);
        reportDescription.setLineWrap(true);
        scrollPane1.setViewportView(reportDescription);
    }
    add(scrollPane1, cc.xywh(3, 9, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.dialog.SplashScreen.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    label1 = new JLabel();
    version = new JLabel();
    viewLicesnseAgreement = new JLabel();
    message = new JLabel();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(Color.white);//from  w  w  w .  j  av a2s  .  c o  m
    setForeground(Color.white);
    setResizable(false);
    setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    addKeyListener(new KeyAdapter() {
        @Override
        public void keyPressed(KeyEvent e) {
            thisKeyPressed(e);
        }
    });
    Container contentPane = getContentPane();
    contentPane.setLayout(new FormLayout("default:grow", "fill:default:grow"));

    //======== panel1 ========
    {
        panel1.setBorder(new LineBorder(Color.black, 3));
        panel1.setBackground(Color.white);
        panel1.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                new RowSpec[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                        FormFactory.UNRELATED_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                        FormFactory.UNRELATED_GAP_ROWSPEC }));

        //---- label1 ----
        label1.setIcon(
                new ImageIcon(getClass().getResource("/org/archiviststoolkit/resources/images/ATLogo.jpg")));
        label1.setBorder(null);
        panel1.add(label1, cc.xy(1, 1));

        //---- version ----
        version.setText("version");
        version.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        panel1.add(version, cc.xywh(1, 2, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

        //---- viewLicesnseAgreement ----
        viewLicesnseAgreement.setText("<html><u>View license agreement</u></html>");
        viewLicesnseAgreement.setFont(new Font("Trebuchet MS", Font.PLAIN, 10));
        viewLicesnseAgreement.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                viewLicesnseAgreementMouseClicked(e);
            }
        });
        panel1.add(viewLicesnseAgreement, cc.xywh(1, 4, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        panel1.add(message, cc.xywh(1, 6, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
    }
    contentPane.add(panel1, cc.xy(1, 1));
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.dialog.SubjectTermLookup.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    dialogPane = new JPanel();
    HeaderPanel = new JPanel();
    mainHeaderPanel = new JPanel();
    mainHeaderLabel = new JLabel();
    panel3 = new JPanel();
    subHeaderLabel = new JLabel();
    contentPane = new JPanel();
    label1 = new JLabel();
    subjectLookup = new JTextField();
    scrollPane1 = new JScrollPane();
    subjectLookupTable = new DomainSortableTable(Subjects.class, subjectLookup);
    linkingPanel = new JPanel();
    label3 = new JLabel();
    label4 = new JLabel();
    buttonBar = new JPanel();
    linkSubjectButton = new JButton();
    createSubjectButton = new JButton();
    doneButton = new JButton();
    selectPanel = new JPanel();
    buttonBar2 = new JPanel();
    selectButton = new JButton();
    cancelButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setModal(true);/*from  ww w. jav  a  2 s  .co  m*/
    Container contentPane2 = getContentPane();
    contentPane2.setLayout(new BorderLayout());

    //======== dialogPane ========
    {
        dialogPane.setBorder(null);
        dialogPane.setBackground(new Color(200, 205, 232));
        dialogPane.setLayout(new BorderLayout());

        //======== HeaderPanel ========
        {
            HeaderPanel.setBackground(new Color(80, 69, 57));
            HeaderPanel.setOpaque(false);
            HeaderPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            HeaderPanel
                    .setLayout(new FormLayout(
                            new ColumnSpec[] {
                                    new ColumnSpec(
                                            Sizes.bounded(Sizes.MINIMUM, Sizes.dluX(100), Sizes.dluX(200))),
                                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                            RowSpec.decodeSpecs("default")));

            //======== mainHeaderPanel ========
            {
                mainHeaderPanel.setBackground(new Color(80, 69, 57));
                mainHeaderPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                mainHeaderPanel
                        .setLayout(
                                new FormLayout(
                                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                        FormSpec.DEFAULT_GROW) },
                                        new RowSpec[] { FormFactory.RELATED_GAP_ROWSPEC,
                                                FormFactory.DEFAULT_ROWSPEC,
                                                FormFactory.RELATED_GAP_ROWSPEC }));

                //---- mainHeaderLabel ----
                mainHeaderLabel.setText("Main Header");
                mainHeaderLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 18));
                mainHeaderLabel.setForeground(Color.white);
                mainHeaderPanel.add(mainHeaderLabel, cc.xy(2, 2));
            }
            HeaderPanel.add(mainHeaderPanel, cc.xy(1, 1));

            //======== panel3 ========
            {
                panel3.setBackground(new Color(66, 60, 111));
                panel3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel3.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                        new RowSpec[] { FormFactory.RELATED_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.RELATED_GAP_ROWSPEC }));

                //---- subHeaderLabel ----
                subHeaderLabel.setText("Subject Term Lookup");
                subHeaderLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 18));
                subHeaderLabel.setForeground(Color.white);
                panel3.add(subHeaderLabel, cc.xy(2, 2));
            }
            HeaderPanel.add(panel3, cc.xy(2, 1));
        }
        dialogPane.add(HeaderPanel, BorderLayout.NORTH);

        //======== contentPane ========
        {
            contentPane.setOpaque(false);
            contentPane
                    .setLayout(
                            new FormLayout(
                                    new ColumnSpec[] { FormFactory.UNRELATED_GAP_COLSPEC,
                                            FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                            new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT,
                                                    FormSpec.DEFAULT_GROW),
                                            FormFactory.DEFAULT_COLSPEC },
                                    new RowSpec[] { FormFactory.UNRELATED_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 }));

            //---- label1 ----
            label1.setText("Filter:");
            contentPane.add(label1, cc.xy(2, 2));
            contentPane.add(subjectLookup, cc.xy(4, 2));

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

                //---- subjectLookupTable ----
                subjectLookupTable.setPreferredScrollableViewportSize(new Dimension(450, 300));
                subjectLookupTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        subjectLookupTableMouseClicked(e);
                    }
                });
                subjectLookupTable.addKeyListener(new KeyAdapter() {
                    @Override
                    public void keyTyped(KeyEvent e) {
                        subjectLookupTableKeyTyped(e);
                    }
                });
                scrollPane1.setViewportView(subjectLookupTable);
            }
            contentPane.add(scrollPane1, cc.xywh(2, 4, 3, 1));

            //======== linkingPanel ========
            {
                linkingPanel.setOpaque(false);
                linkingPanel.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 }));

                //---- label3 ----
                label3.setText("Double click on a Subject Term to add it to the record.");
                linkingPanel.add(label3, cc.xy(1, 1));

                //---- label4 ----
                label4.setText("Or hit enter if a Term is highlighted.");
                linkingPanel.add(label4, cc.xy(1, 3));

                //======== buttonBar ========
                {
                    buttonBar.setBorder(Borders.BUTTON_BAR_GAP_BORDER);
                    buttonBar.setBackground(new Color(231, 188, 251));
                    buttonBar.setOpaque(false);
                    buttonBar.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC,
                                    FormFactory.RELATED_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC },
                            RowSpec.decodeSpecs("pref")));

                    //---- linkSubjectButton ----
                    linkSubjectButton.setText("Link");
                    linkSubjectButton.setOpaque(false);
                    linkSubjectButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            linkSubjectButtonActionPerformed();
                        }
                    });
                    buttonBar.add(linkSubjectButton, cc.xy(1, 1));

                    //---- createSubjectButton ----
                    createSubjectButton.setText("Create Subject");
                    createSubjectButton.setOpaque(false);
                    createSubjectButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            createSubjectButtonActionPerformed();
                        }
                    });
                    buttonBar.add(createSubjectButton, cc.xy(3, 1));

                    //---- doneButton ----
                    doneButton.setText("Close Window");
                    doneButton.setOpaque(false);
                    doneButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            doneButtonActionPerformed();
                        }
                    });
                    buttonBar.add(doneButton, cc.xy(5, 1));
                }
                linkingPanel.add(buttonBar,
                        cc.xywh(1, 5, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT));
            }
            contentPane.add(linkingPanel, cc.xywh(2, 6, 3, 1));

            //======== selectPanel ========
            {
                selectPanel.setOpaque(false);
                selectPanel.setLayout(new FormLayout("default:grow", "default"));

                //======== buttonBar2 ========
                {
                    buttonBar2.setBorder(Borders.BUTTON_BAR_GAP_BORDER);
                    buttonBar2.setBackground(new Color(231, 188, 251));
                    buttonBar2.setOpaque(false);
                    buttonBar2
                            .setLayout(new FormLayout(
                                    new ColumnSpec[] { FormFactory.BUTTON_COLSPEC,
                                            FormFactory.RELATED_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC },
                                    RowSpec.decodeSpecs("pref")));

                    //---- selectButton ----
                    selectButton.setText("Select");
                    selectButton.setOpaque(false);
                    selectButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            selectButtonActionPerformed();
                        }
                    });
                    buttonBar2.add(selectButton, cc.xy(1, 1));

                    //---- cancelButton ----
                    cancelButton.setText("Cancel");
                    cancelButton.setOpaque(false);
                    cancelButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            doneButtonActionPerformed();
                        }
                    });
                    buttonBar2.add(cancelButton, cc.xy(3, 1));
                }
                selectPanel.add(buttonBar2,
                        cc.xywh(1, 1, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT));
            }
            contentPane.add(selectPanel, cc.xywh(2, 8, 3, 1));
        }
        dialogPane.add(contentPane, BorderLayout.CENTER);
    }
    contentPane2.add(dialogPane, BorderLayout.CENTER);
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents

}

From source file:org.archiviststoolkit.dialog.UserPreferencesDialog.java

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    dialogPane = new JPanel();
    HeaderPanel = new JPanel();
    panel2 = new JPanel();
    mainHeaderLabel = new JLabel();
    panel3 = new JPanel();
    subHeaderLabel = new JLabel();
    panel1 = new JPanel();
    contentPanel = new JPanel();
    label1 = new JLabel();
    connectionUrl = new JComboBox();
    label2 = new JLabel();
    userName = new JTextField();
    label3 = new JLabel();
    password = new JPasswordField();
    label4 = new JLabel();
    databaseTypes = ATBasicComponentFactory.createUnboundComboBox(SessionFactory.getDatabaseTypesList(true));
    buttonBar = new JPanel();
    openDBFileButton = new JButton();
    saveButton = new JButton();
    okButton = new JButton();
    cancelButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setModal(true);/*from   www .j a va 2  s.com*/
    Container contentPane = getContentPane();
    contentPane.setLayout(new BorderLayout());

    //======== dialogPane ========
    {
        dialogPane.setBorder(null);
        dialogPane.setBackground(new Color(200, 205, 232));
        dialogPane.setPreferredSize(new Dimension(600, 238));
        dialogPane.setMinimumSize(new Dimension(600, 238));
        dialogPane.setLayout(new BorderLayout());

        //======== HeaderPanel ========
        {
            HeaderPanel.setBackground(new Color(80, 69, 57));
            HeaderPanel.setOpaque(false);
            HeaderPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            HeaderPanel
                    .setLayout(new FormLayout(
                            new ColumnSpec[] {
                                    new ColumnSpec(
                                            Sizes.bounded(Sizes.MINIMUM, Sizes.dluX(100), Sizes.dluX(200))),
                                    new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                            RowSpec.decodeSpecs("default")));

            //======== panel2 ========
            {
                panel2.setBackground(new Color(80, 69, 57));
                panel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel2.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                        new RowSpec[] { FormFactory.RELATED_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.RELATED_GAP_ROWSPEC }));

                //---- mainHeaderLabel ----
                mainHeaderLabel.setText("Administration");
                mainHeaderLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 18));
                mainHeaderLabel.setForeground(Color.white);
                panel2.add(mainHeaderLabel, cc.xy(2, 2));
            }
            HeaderPanel.add(panel2, cc.xy(1, 1));

            //======== panel3 ========
            {
                panel3.setBackground(new Color(66, 60, 111));
                panel3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel3.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.RELATED_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                        new RowSpec[] { FormFactory.RELATED_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.RELATED_GAP_ROWSPEC }));

                //---- subHeaderLabel ----
                subHeaderLabel.setText("Connection Settings");
                subHeaderLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 18));
                subHeaderLabel.setForeground(Color.white);
                panel3.add(subHeaderLabel, cc.xy(2, 2));
            }
            HeaderPanel.add(panel3, cc.xy(2, 1));
        }
        dialogPane.add(HeaderPanel, BorderLayout.NORTH);

        //======== panel1 ========
        {
            panel1.setOpaque(false);
            panel1.setBorder(Borders.DIALOG_BORDER);
            panel1.setLayout(new FormLayout(ColumnSpec.decodeSpecs("max(default;400px):grow"), new RowSpec[] {
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //======== contentPanel ========
            {
                contentPanel.setBorder(
                        new TitledBorder(null, "Database Properties", TitledBorder.LEADING, TitledBorder.TOP));
                contentPanel.setOpaque(false);
                contentPanel
                        .setLayout(
                                new FormLayout(
                                        new ColumnSpec[] { new ColumnSpec(ColumnSpec.FILL, Sizes.MINIMUM, 0.1),
                                                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 }));

                //---- label1 ----
                label1.setText("Connection URL");
                contentPanel.add(label1, new CellConstraints(1, 1, 1, 1, CellConstraints.FILL,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                //---- connectionUrl ----
                connectionUrl.setEditable(true);
                connectionUrl.addItemListener(new ItemListener() {
                    public void itemStateChanged(ItemEvent e) {
                        updateConnectionUrlInformation();
                    }
                });
                contentPanel.add(connectionUrl, new CellConstraints(3, 1, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                //---- label2 ----
                label2.setText("Username");
                contentPanel.add(label2, new CellConstraints(1, 3, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));
                contentPanel.add(userName, new CellConstraints(3, 3, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                //---- label3 ----
                label3.setText("Password");
                contentPanel.add(label3, new CellConstraints(1, 5, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));
                contentPanel.add(password, new CellConstraints(3, 5, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                //---- label4 ----
                label4.setText("Database Type");
                contentPanel.add(label4, new CellConstraints(1, 7, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 5, 0, 0)));

                //---- databaseTypes ----
                databaseTypes.setOpaque(false);
                databaseTypes.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        databaseTypesActionPerformed();
                    }
                });
                contentPanel.add(databaseTypes, cc.xy(3, 7, CellConstraints.LEFT, CellConstraints.DEFAULT));
            }
            panel1.add(contentPanel, cc.xy(1, 1));

            //======== buttonBar ========
            {
                buttonBar.setBorder(Borders.BUTTON_BAR_GAP_BORDER);
                buttonBar.setBackground(new Color(231, 188, 251));
                buttonBar.setOpaque(false);
                buttonBar.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                FormFactory.GLUE_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC,
                                FormFactory.RELATED_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC },
                        RowSpec.decodeSpecs("pref")));

                //---- openDBFileButton ----
                openDBFileButton.setText("Open Internal Database File");
                openDBFileButton.setVisible(false);
                openDBFileButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        openDBFileButtonActionPerformed();
                    }
                });
                buttonBar.add(openDBFileButton, cc.xy(2, 1));

                //---- saveButton ----
                saveButton.setText("Save");
                saveButton.setOpaque(false);
                saveButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        storeConnectionUrlInformation();
                    }
                });
                buttonBar.add(saveButton, cc.xy(4, 1));

                //---- okButton ----
                okButton.setText("OK");
                okButton.setOpaque(false);
                okButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        okButtonActionPerformed(e);
                    }
                });
                buttonBar.add(okButton, cc.xy(6, 1));

                //---- cancelButton ----
                cancelButton.setText("Cancel");
                cancelButton.setOpaque(false);
                cancelButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        cancelButtonActionPerformed(e);
                    }
                });
                buttonBar.add(cancelButton, cc.xy(8, 1));
            }
            panel1.add(buttonBar, cc.xy(1, 3));
        }
        dialogPane.add(panel1, BorderLayout.CENTER);
    }
    contentPane.add(dialogPane, BorderLayout.CENTER);
    pack();
    setLocationRelativeTo(getOwner());
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

From source file:org.archiviststoolkit.editor.AccessionFields.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();
    accessionTitle = new JTextField();
    label3 = new JLabel();
    accessionNumber = new JTextField();
    tabbedPane = new JTabbedPane();
    detailsPanel = new JPanel();
    panel11 = new JPanel();
    panel12 = new JPanel();
    label_accessionNumber1 = new JLabel();
    accessionNumber1 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESSION_NUMBER_1));
    accessionNumber2 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESSION_NUMBER_2));
    accessionNumber3 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESSION_NUMBER_3));
    accessionNumber4 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESSION_NUMBER_4));
    panel34 = new JPanel();
    label_accessionDate = new JLabel();
    accessionDate = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESSION_DATE));
    panel2 = new JPanel();
    panel15 = new JPanel();
    OtherAccessionsLabel = new JLabel();
    scrollPane4 = new JScrollPane();
    tableAccessionsResources = new DomainSortableTable();
    panel19 = new JPanel();
    linkResource = new JButton();
    removeResourceLink = new JButton();
    panel27 = new JPanel();
    label_resourceType = new JLabel();
    resourceType = ATBasicComponentFactory.createComboBox(detailsModel, Accessions.PROPERTYNAME_RESOURCE_TYPE,
            Accessions.class, 10);
    label_title = new JLabel();
    scrollPane42 = new JScrollPane();
    title = ATBasicComponentFactory.createTextArea(detailsModel.getModel(ArchDescription.PROPERTYNAME_TITLE));
    panel33 = new JPanel();
    panel20 = new JPanel();
    ExtentNumberLabel2 = new JLabel();
    panel21 = new JPanel();
    labelExtentNumber = new JLabel();
    extentNumber = ATBasicComponentFactory.createDoubleField(detailsModel,
            Accessions.PROPERTYNAME_EXTENT_NUMBER);
    extentType = ATBasicComponentFactory.createComboBox(detailsModel, Accessions.PROPERTYNAME_EXTENT_TYPE,
            Accessions.class);
    labelExtent = new JLabel();
    scrollPane423 = new JScrollPane();
    containerSummary = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_CONTAINER_SUMMARY), false);
    panel14 = new JPanel();
    label_repositoryName = new JLabel();
    repositoryName = new JTextField();
    changeRepositoryButton = new JButton();
    panel13 = new JPanel();
    panel22 = new JPanel();
    panel5 = new JPanel();
    panel4 = new JPanel();
    label_dateExpression = new JLabel();
    dateExpression = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ArchDescription.PROPERTYNAME_DATE_EXPRESSION), false);
    Date1Label = new JLabel();
    label_date1Begin = new JLabel();
    date1Begin = ATBasicComponentFactory.createIntegerField(detailsModel,
            ArchDescription.PROPERTYNAME_DATE_BEGIN);
    label_date1End = new JLabel();
    date1End = ATBasicComponentFactory.createIntegerField(detailsModel, ArchDescription.PROPERTYNAME_DATE_END);
    BulkDatesLabel = new JLabel();
    label_bulkDateBegin = new JLabel();
    bulkDateBegin = ATBasicComponentFactory.createIntegerField(detailsModel,
            Accessions.PROPERTYNAME_BULK_DATE_BEGIN);
    label_bulkDateEnd = new JLabel();
    bulkDateEnd = ATBasicComponentFactory.createIntegerField(detailsModel,
            Accessions.PROPERTYNAME_BULK_DATE_END);
    label_repositoryName3 = new JLabel();
    scrollPane6 = new JScrollPane();
    deaccessionsTable = new DomainSortableTable(Deaccessions.class);
    panel18 = new JPanel();
    addDeaccessions = new JButton();
    removeDeaccession = new JButton();
    label_repositoryName2 = new JLabel();
    scrollPane7 = new JScrollPane();
    locationsTable = new DomainSortableTable(AccessionsLocations.class);
    panel26 = new JPanel();
    addButton = new JButton();
    removeLocationButton = new JButton();
    label_title2 = new JLabel();
    scrollPane43 = new JScrollPane();
    title2 = ATBasicComponentFactory//from   ww w. j  a  v a2 s  .  co m
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_GENERAL_ACCESSION_NOTE));
    accesionNotesPanel = new JPanel();
    panel28 = new JPanel();
    panel29 = new JPanel();
    label_acquisitionType = new JLabel();
    acquisitionType = ATBasicComponentFactory.createComboBox(detailsModel,
            Accessions.PROPERTYNAME_ACQUISITION_TYPE, Accessions.class);
    label_RetentionRule = new JLabel();
    scrollPane4224 = new JScrollPane();
    accessionTransactionNote = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_RETENTION_RULE));
    label_description = new JLabel();
    scrollPane2 = new JScrollPane();
    description = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_DESCRIPTION));
    label_condition = new JLabel();
    scrollPane22 = new JScrollPane();
    condition = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_CONDITION_NOTE));
    panel30 = new JPanel();
    label_inventory = new JLabel();
    scrollPane23 = new JScrollPane();
    inventory = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_INVENTORY));
    label_accessionDispositionNote = new JLabel();
    scrollPane4223 = new JScrollPane();
    accessionDispositionNote = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_DISPOSITION_NOTE));
    label_resourceType2 = new JLabel();
    scrollPane5 = new JScrollPane();
    externalDocumentsTable = new DomainSortableTable(ExternalReference.class);
    panel16 = new JPanel();
    addExternalLinkButton = new JButton();
    removeExternalLinkButton = new JButton();
    openInBrowser = new JButton();
    panel31 = new JPanel();
    panel32 = new JPanel();
    label_acknowledgementDate2 = new JLabel();
    acknowledgementDate2 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_DATE1));
    label_acknowledgementDate3 = new JLabel();
    acknowledgementDate3 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_DATE2));
    rights2 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Accessions.PROPERTYNAME_USER_DEFINED_BOOLEAN1, Accessions.class);
    rights3 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Accessions.PROPERTYNAME_USER_DEFINED_BOOLEAN2, Accessions.class);
    label_date1Begin2 = new JLabel();
    date1Begin2 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Accessions.PROPERTYNAME_USER_DEFINED_INTEGER1);
    label_date1Begin3 = new JLabel();
    date1Begin3 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Accessions.PROPERTYNAME_USER_DEFINED_INTEGER2);
    label_date1Begin4 = new JLabel();
    extentNumber2 = ATBasicComponentFactory.createDoubleField(detailsModel,
            Accessions.PROPERTYNAME_USER_DEFINED_REAL1);
    label_date1Begin5 = new JLabel();
    extentNumber3 = ATBasicComponentFactory.createDoubleField(detailsModel,
            Accessions.PROPERTYNAME_USER_DEFINED_REAL2);
    label_date1Begin6 = new JLabel();
    dateExpression2 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_STRING1), false);
    label_date1Begin7 = new JLabel();
    dateExpression3 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_STRING2), false);
    label_date1Begin8 = new JLabel();
    dateExpression4 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_STRING3), false);
    label_date1Begin9 = new JLabel();
    scrollPane44 = new JScrollPane();
    title3 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_TEXT1));
    panel35 = new JPanel();
    label_date1Begin10 = new JLabel();
    scrollPane45 = new JScrollPane();
    title4 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_TEXT2));
    label_date1Begin11 = new JLabel();
    scrollPane46 = new JScrollPane();
    title5 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_TEXT3));
    label_date1Begin12 = new JLabel();
    scrollPane47 = new JScrollPane();
    title6 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_USER_DEFINED_TEXT4));
    nonPreferredNamePanel = 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);
    panel10 = new JPanel();
    addSubjectRelationshipButton = new JButton();
    removeSubjectRelationshipButton = new JButton();
    collectionInfoPanel = new JPanel();
    panel39 = new JPanel();
    ExtentNumberLabel3 = new JLabel();
    rights5 = ATBasicComponentFactory.createCheckBox(detailsModel, Accessions.PROPERTYNAME_ACKNOWLEDGEMENT_SENT,
            Accessions.class);
    label_acknowledgementDate4 = new JLabel();
    acknowledgementDate4 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_ACKNOWLEDGEMENT_DATE));
    rights6 = ATBasicComponentFactory.createCheckBox(detailsModel, Accessions.PROPERTYNAME_AGREEMENT_SENT,
            Accessions.class);
    label_agreementSent2 = new JLabel();
    agreementSent2 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_AGREEMENT_SENT_DATE));
    rights7 = ATBasicComponentFactory.createCheckBox(detailsModel, Accessions.PROPERTYNAME_AGREEMENT_RECEIVED,
            Accessions.class);
    label_agreementReceived = new JLabel();
    agreementReceived = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_AGREEMENT_RECEIVED_DATE));
    rights = ATBasicComponentFactory.createCheckBox(detailsModel, Accessions.PROPERTYNAME_RIGHTS_TRANSFERRED,
            Accessions.class);
    label_agreementReceived2 = new JLabel();
    agreementReceived2 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_RIGHTS_TRANSFERRED_DATE));
    labelAccess3 = new JLabel();
    scrollPane435 = new JScrollPane();
    terms3 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_RIGHTS_TRANSFERRED_NOTE));
    restrictionsApply = ATBasicComponentFactory.createCheckBox(detailsModel,
            Accessions.PROPERTYNAME_RESTRICTIONS_APPLY, Accessions.class);
    restrictionsApply2 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Accessions.PROPERTYNAME_ACCESS_RESTRICTIONS, Accessions.class);
    labelAccess = new JLabel();
    scrollPane432 = new JScrollPane();
    terms = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESS_RESTRICTIONS_NOTE));
    restrictionsApply3 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Accessions.PROPERTYNAME_USE_RESTRICTIONS, Accessions.class);
    labelAccess2 = new JLabel();
    scrollPane433 = new JScrollPane();
    terms2 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_USE_RESTRICTIONS_NOTE));
    separator1 = new JSeparator();
    panel37 = new JPanel();
    ExtentNumberLabel4 = new JLabel();
    label_resourceType3 = new JLabel();
    panel3 = new JPanel();
    resourceType2 = ATBasicComponentFactory.createComboBox(detailsModel,
            Accessions.PROPERTYNAME_PROCESSING_PRIORITY, Accessions.class, 40);
    label_resourceType4 = new JLabel();
    dateExpression5 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Accessions.PROPERTYNAME_PROCESSORS), false);
    label_processingPlan = new JLabel();
    scrollPane4222 = new JScrollPane();
    processingPlan = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_PROCESSING_PLAN));
    label_dateProcessed3 = new JLabel();
    dateProcessed3 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_PROCESSING_STARTED_DATE));
    label_resourceType5 = new JLabel();
    panel1 = new JPanel();
    resourceType3 = ATBasicComponentFactory.createComboBox(detailsModel,
            Accessions.PROPERTYNAME_PROCESSING_STATUS, Accessions.class, 40);
    cataloged2 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Accessions.PROPERTYNAME_ACCESSION_PROCESSED, Accessions.class);
    label_dateProcessed = new JLabel();
    dateProcessed = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_ACCESSION_PROCESSED_DATE));
    cataloged = ATBasicComponentFactory.createCheckBox(detailsModel, Accessions.PROPERTYNAME_CATALOGED,
            Accessions.class);
    label_dateProcessed2 = new JLabel();
    dateProcessed2 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Accessions.PROPERTYNAME_CATALOGED_DATE));
    label_terms2 = new JLabel();
    scrollPane434 = new JScrollPane();
    catalogedNote = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Accessions.PROPERTYNAME_CATALOGED_NOTE));
    CellConstraints cc = new CellConstraints();

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

    //======== 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));

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

        //---- label3 ----
        label3.setText("Accession #: ");
        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));

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

    //======== tabbedPane ========
    {
        tabbedPane.setFocusable(false);
        tabbedPane.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        tabbedPane.setBackground(new Color(200, 205, 232));
        tabbedPane.setOpaque(true);
        tabbedPane.setMinimumSize(new Dimension(600, 449));

        //======== detailsPanel ========
        {
            detailsPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            detailsPanel.setBackground(new Color(200, 205, 232));
            detailsPanel.setBorder(Borders.DLU2_BORDER);
            detailsPanel.setMinimumSize(new Dimension(640, 380));
            detailsPanel.setLayout(new FormLayout(
                    new ColumnSpec[] { new ColumnSpec(ColumnSpec.FILL, Sizes.PREFERRED, FormSpec.DEFAULT_GROW),
                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                            new ColumnSpec(ColumnSpec.FILL, Sizes.PREFERRED, FormSpec.DEFAULT_GROW) },
                    RowSpec.decodeSpecs("fill:default:grow")));
            ((FormLayout) detailsPanel.getLayout()).setColumnGroups(new int[][] { { 1, 3 } });

            //======== panel11 ========
            {
                panel11.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel11.setBackground(new Color(200, 205, 232));
                panel11.setMinimumSize(new Dimension(200, 206));
                panel11.setPreferredSize(new Dimension(200, 278));
                panel11.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                        new 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, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                //======== panel12 ========
                {
                    panel12.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel12.setBackground(new Color(200, 205, 232));
                    panel12.setMinimumSize(new Dimension(200, 22));
                    panel12.setPreferredSize(new Dimension(200, 22));
                    panel12.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("50px:grow"),
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("50px:grow"),
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("50px:grow"),
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec("50px:grow") },
                            RowSpec.decodeSpecs("default")));
                    ((FormLayout) panel12.getLayout()).setColumnGroups(new int[][] { { 3, 5, 7, 9 } });

                    //---- label_accessionNumber1 ----
                    label_accessionNumber1.setText("Accession No.");
                    label_accessionNumber1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_accessionNumber1, Accessions.class,
                            Accessions.PROPERTYNAME_ACCESSION_NUMBER);
                    panel12.add(label_accessionNumber1,
                            cc.xy(1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                    panel12.add(accessionNumber1, cc.xy(3, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
                    panel12.add(accessionNumber2, cc.xy(5, 1));
                    panel12.add(accessionNumber3, cc.xy(7, 1));
                    panel12.add(accessionNumber4, cc.xy(9, 1));
                }
                panel11.add(panel12, cc.xy(1, 1));

                //======== panel34 ========
                {
                    panel34.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel34.setBackground(new Color(200, 205, 232));
                    panel34.setPreferredSize(new Dimension(200, 22));
                    panel34.setLayout(
                            new FormLayout(
                                    new ColumnSpec[] {
                                            new ColumnSpec(ColumnSpec.LEFT, Sizes.PREFERRED, FormSpec.NO_GROW),
                                            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_accessionDate ----
                    label_accessionDate.setText("Accession Date");
                    label_accessionDate.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_accessionDate, Accessions.class,
                            Accessions.PROPERTYNAME_ACCESSION_DATE);
                    panel34.add(label_accessionDate, cc.xy(1, 1));

                    //---- accessionDate ----
                    accessionDate.setColumns(10);
                    panel34.add(accessionDate, cc.xy(3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel11.add(panel34, cc.xy(1, 3, CellConstraints.FILL, CellConstraints.DEFAULT));

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

                    //======== panel15 ========
                    {
                        panel15.setOpaque(false);
                        panel15.setBorder(Borders.DLU2_BORDER);
                        panel15.setMinimumSize(new Dimension(200, 88));
                        panel15.setPreferredSize(new Dimension(200, 115));
                        panel15.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 }));

                        //---- OtherAccessionsLabel ----
                        OtherAccessionsLabel.setText("Resources Linked to this accession");
                        OtherAccessionsLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel15.add(OtherAccessionsLabel, cc.xy(1, 1));

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

                            //---- tableAccessionsResources ----
                            tableAccessionsResources.setPreferredScrollableViewportSize(new Dimension(450, 50));
                            tableAccessionsResources.setFocusable(false);
                            tableAccessionsResources.setSelectionBackground(Color.magenta);
                            scrollPane4.setViewportView(tableAccessionsResources);
                        }
                        panel15.add(scrollPane4, cc.xy(1, 3));

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

                            //---- linkResource ----
                            linkResource.setText("Link Resource");
                            linkResource.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            linkResource.setOpaque(false);
                            linkResource.addActionListener(new ActionListener() {
                                public void actionPerformed(ActionEvent e) {
                                    linkResourceActionPerformed(e);
                                }
                            });
                            panel19.add(linkResource, cc.xy(1, 1));

                            //---- removeResourceLink ----
                            removeResourceLink.setText("Remove Link");
                            removeResourceLink.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            removeResourceLink.setOpaque(false);
                            removeResourceLink.addActionListener(new ActionListener() {
                                public void actionPerformed(ActionEvent e) {
                                    removeResourceLinkActionPerformed(e);
                                }
                            });
                            panel19.add(removeResourceLink, cc.xy(3, 1));
                        }
                        panel15.add(panel19, cc.xy(1, 5, CellConstraints.CENTER, CellConstraints.DEFAULT));
                    }
                    panel2.add(panel15, cc.xy(1, 1));
                }
                panel11.add(panel2, cc.xy(1, 5));

                //======== panel27 ========
                {
                    panel27.setOpaque(false);
                    panel27.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_resourceType ----
                    label_resourceType.setText("Resource Type");
                    label_resourceType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_resourceType, Accessions.class,
                            Accessions.PROPERTYNAME_RESOURCE_TYPE);
                    panel27.add(label_resourceType, cc.xy(1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                    //---- resourceType ----
                    resourceType.setOpaque(false);
                    panel27.add(resourceType, cc.xy(3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel11.add(panel27, cc.xy(1, 7));

                //---- label_title ----
                label_title.setText("Title");
                label_title.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_title, Accessions.class, Accessions.PROPERTYNAME_TITLE);
                panel11.add(label_title, cc.xy(1, 9));

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

                    //---- title ----
                    title.setRows(4);
                    title.setLineWrap(true);
                    title.setWrapStyleWord(true);
                    scrollPane42.setViewportView(title);
                }
                panel11.add(scrollPane42, cc.xy(1, 11));

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

                    //======== panel20 ========
                    {
                        panel20.setOpaque(false);
                        panel20.setBorder(Borders.DLU2_BORDER);
                        panel20.setPreferredSize(new Dimension(200, 148));
                        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) }));

                        //---- ExtentNumberLabel2 ----
                        ExtentNumberLabel2.setText("Extent");
                        ExtentNumberLabel2.setForeground(new Color(0, 0, 102));
                        ExtentNumberLabel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel20.add(ExtentNumberLabel2, 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")));

                            //---- labelExtentNumber ----
                            labelExtentNumber.setText("Extent");
                            labelExtentNumber.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            ATFieldInfo.assignLabelInfo(labelExtentNumber, Accessions.class,
                                    Accessions.PROPERTYNAME_EXTENT_NUMBER);
                            panel21.add(labelExtentNumber, cc.xy(1, 1));

                            //---- extentNumber ----
                            extentNumber.setColumns(5);
                            panel21.add(extentNumber, cc.xy(3, 1));

                            //---- extentType ----
                            extentType.setOpaque(false);
                            panel21.add(extentType, cc.xy(5, 1));
                        }
                        panel20.add(panel21, cc.xy(2, 3));

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

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

                            //---- containerSummary ----
                            containerSummary.setRows(4);
                            containerSummary.setLineWrap(true);
                            containerSummary.setWrapStyleWord(true);
                            scrollPane423.setViewportView(containerSummary);
                        }
                        panel20.add(scrollPane423, cc.xy(2, 7, CellConstraints.DEFAULT, CellConstraints.FILL));
                    }
                    panel33.add(panel20, cc.xy(1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
                }
                panel11.add(panel33, cc.xy(1, 13));

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

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

                    //---- repositoryName ----
                    repositoryName.setEditable(false);
                    repositoryName.setFocusable(false);
                    repositoryName.setBorder(null);
                    repositoryName.setOpaque(false);
                    repositoryName.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    repositoryName.setHorizontalAlignment(SwingConstants.LEFT);
                    panel14.add(repositoryName, cc.xy(3, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                    //---- 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();
                        }
                    });
                    panel14.add(changeRepositoryButton, cc.xy(5, 1));
                }
                panel11.add(panel14, cc.xy(1, 15));
            }
            detailsPanel.add(panel11, cc.xy(1, 1));

            //======== panel13 ========
            {
                panel13.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel13.setBackground(new Color(200, 205, 232));
                panel13.setPreferredSize(new Dimension(200, 317));
                panel13.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                        new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, 0.4), FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, 0.4), FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, 0.19999999999999998) }));
                ((FormLayout) panel13.getLayout()).setRowGroups(new int[][] { { 5, 11, 17 } });

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

                    //======== panel5 ========
                    {
                        panel5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel5.setOpaque(false);
                        panel5.setBorder(Borders.DLU2_BORDER);
                        panel5.setLayout(new FormLayout(
                                new ColumnSpec[] { new ColumnSpec("max(min;50px)"),
                                        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 }));

                        //======== panel4 ========
                        {
                            panel4.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            panel4.setOpaque(false);
                            panel4.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_dateExpression ----
                            label_dateExpression.setText("Date Expression");
                            label_dateExpression.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                            ATFieldInfo.assignLabelInfo(label_dateExpression, Accessions.class,
                                    Accessions.PROPERTYNAME_DATE_EXPRESSION);
                            panel4.add(label_dateExpression,
                                    cc.xy(1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                            panel4.add(dateExpression, new CellConstraints(3, 1, 1, 1, CellConstraints.DEFAULT,
                                    CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));
                        }
                        panel5.add(panel4, cc.xywh(1, 1, 9, 1));

                        //---- Date1Label ----
                        Date1Label.setText("Date");
                        Date1Label.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        panel5.add(Date1Label, cc.xywh(1, 3, 9, 1));

                        //---- label_date1Begin ----
                        label_date1Begin.setText("Begin");
                        label_date1Begin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_date1Begin, Accessions.class,
                                Accessions.PROPERTYNAME_DATE_BEGIN);
                        panel5.add(label_date1Begin, cc.xy(3, 5));
                        panel5.add(date1Begin, cc.xy(5, 5, CellConstraints.FILL, CellConstraints.DEFAULT));

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

                        //---- date1End ----
                        date1End.addFocusListener(new FocusAdapter() {
                            @Override
                            public void focusGained(FocusEvent e) {
                                dateEndFocusGained();
                            }
                        });
                        panel5.add(date1End, 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));
                        panel5.add(BulkDatesLabel, cc.xywh(1, 7, 9, 1));

                        //---- label_bulkDateBegin ----
                        label_bulkDateBegin.setText("Begin");
                        label_bulkDateBegin.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                        ATFieldInfo.assignLabelInfo(label_bulkDateBegin, Accessions.class,
                                Accessions.PROPERTYNAME_BULK_DATE_BEGIN);
                        panel5.add(label_bulkDateBegin, cc.xy(3, 9));
                        panel5.add(bulkDateBegin, cc.xy(5, 9, CellConstraints.FILL, CellConstraints.DEFAULT));

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

                        //---- bulkDateEnd ----
                        bulkDateEnd.addFocusListener(new FocusAdapter() {
                            @Override
                            public void focusGained(FocusEvent e) {
                                bulkDateEndFocusGained();
                            }
                        });
                        panel5.add(bulkDateEnd, new CellConstraints(9, 9, 1, 1, CellConstraints.FILL,
                                CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));
                    }
                    panel22.add(panel5, cc.xy(1, 1));
                }
                panel13.add(panel22, cc.xy(1, 1));

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

                //======== scrollPane6 ========
                {
                    scrollPane6.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane6.setPreferredSize(new Dimension(200, 104));

                    //---- deaccessionsTable ----
                    deaccessionsTable.setPreferredScrollableViewportSize(new Dimension(200, 100));
                    deaccessionsTable.addMouseListener(new MouseAdapter() {
                        @Override
                        public void mouseClicked(MouseEvent e) {
                            deaccessionsTableMouseClicked(e);
                        }
                    });
                    scrollPane6.setViewportView(deaccessionsTable);
                }
                panel13.add(scrollPane6, cc.xy(1, 5, CellConstraints.DEFAULT, CellConstraints.FILL));

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

                    //---- addDeaccessions ----
                    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();
                        }
                    });
                    panel18.add(addDeaccessions, cc.xy(1, 1));

                    //---- removeDeaccession ----
                    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();
                        }
                    });
                    panel18.add(removeDeaccession, cc.xy(3, 1));
                }
                panel13.add(panel18, cc.xy(1, 7, CellConstraints.CENTER, CellConstraints.DEFAULT));

                //---- label_repositoryName2 ----
                label_repositoryName2.setText("Locations");
                label_repositoryName2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_repositoryName2, Accessions.class,
                        Accessions.PROPERTYNAME_LOCATIONS);
                panel13.add(label_repositoryName2, cc.xy(1, 9));

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

                    //---- locationsTable ----
                    locationsTable.setPreferredScrollableViewportSize(new Dimension(200, 60));
                    locationsTable.addMouseListener(new MouseAdapter() {
                        @Override
                        public void mouseClicked(MouseEvent e) {
                            locationsTableMouseClicked(e);
                        }
                    });
                    scrollPane7.setViewportView(locationsTable);
                }
                panel13.add(scrollPane7, cc.xy(1, 11, CellConstraints.DEFAULT, CellConstraints.FILL));

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

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

                    //---- removeLocationButton ----
                    removeLocationButton.setText("Remove Location");
                    removeLocationButton.setOpaque(false);
                    removeLocationButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    removeLocationButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            removeLocationButtonActionPerformed(e);
                        }
                    });
                    panel26.add(removeLocationButton, cc.xy(3, 1));
                }
                panel13.add(panel26, cc.xy(1, 13, CellConstraints.CENTER, CellConstraints.DEFAULT));

                //---- label_title2 ----
                label_title2.setText("General accession note");
                label_title2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_title2, Accessions.class,
                        Accessions.PROPERTYNAME_GENERAL_ACCESSION_NOTE);
                panel13.add(label_title2, cc.xy(1, 15));

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

                    //---- title2 ----
                    title2.setRows(4);
                    title2.setLineWrap(true);
                    title2.setWrapStyleWord(true);
                    scrollPane43.setViewportView(title2);
                }
                panel13.add(scrollPane43, cc.xy(1, 17));
            }
            detailsPanel.add(panel13, cc.xy(3, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
        }
        tabbedPane.addTab("Basic Information", detailsPanel);

        //======== accesionNotesPanel ========
        {
            accesionNotesPanel.setBackground(new Color(200, 205, 232));
            accesionNotesPanel.setLayout(new FormLayout(
                    new ColumnSpec[] { 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("fill:default:grow")));
            ((FormLayout) accesionNotesPanel.getLayout()).setColumnGroups(new int[][] { { 1, 3 } });

            //======== panel28 ========
            {
                panel28.setOpaque(false);
                panel28.setLayout(new FormLayout(ColumnSpec.decodeSpecs("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),
                        FormFactory.LINE_GAP_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,
                        new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

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

                    //---- label_acquisitionType ----
                    label_acquisitionType.setText("Acquisition Type");
                    label_acquisitionType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    ATFieldInfo.assignLabelInfo(label_acquisitionType, Accessions.class,
                            Accessions.PROPERTYNAME_ACQUISITION_TYPE);
                    panel29.add(label_acquisitionType,
                            cc.xy(1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));

                    //---- acquisitionType ----
                    acquisitionType.setOpaque(false);
                    acquisitionType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel29.add(acquisitionType, cc.xy(3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel28.add(panel29, cc.xy(1, 1));

                //---- label_RetentionRule ----
                label_RetentionRule.setText("Retention Rule");
                label_RetentionRule.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_RetentionRule, Accessions.class,
                        Accessions.PROPERTYNAME_RETENTION_RULE);
                panel28.add(label_RetentionRule, cc.xy(1, 3));

                //======== scrollPane4224 ========
                {
                    scrollPane4224.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane4224.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane4224.setPreferredSize(new Dimension(200, 68));

                    //---- accessionTransactionNote ----
                    accessionTransactionNote.setRows(4);
                    accessionTransactionNote.setLineWrap(true);
                    accessionTransactionNote.setWrapStyleWord(true);
                    accessionTransactionNote.setMinimumSize(new Dimension(200, 16));
                    scrollPane4224.setViewportView(accessionTransactionNote);
                }
                panel28.add(scrollPane4224, cc.xy(1, 5, CellConstraints.FILL, CellConstraints.FILL));

                //---- label_description ----
                label_description.setText("Description");
                label_description.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_description, Accessions.class,
                        Accessions.PROPERTYNAME_DESCRIPTION);
                panel28.add(label_description, cc.xy(1, 7));

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

                    //---- description ----
                    description.setRows(5);
                    description.setLineWrap(true);
                    description.setWrapStyleWord(true);
                    description.setMinimumSize(new Dimension(200, 16));
                    scrollPane2.setViewportView(description);
                }
                panel28.add(scrollPane2, cc.xy(1, 9, CellConstraints.DEFAULT, CellConstraints.FILL));

                //---- label_condition ----
                label_condition.setText("Condition");
                label_condition.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_condition, Accessions.class,
                        Accessions.PROPERTYNAME_CONDITION_NOTE);
                panel28.add(label_condition, cc.xy(1, 11));

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

                    //---- condition ----
                    condition.setRows(5);
                    condition.setLineWrap(true);
                    condition.setWrapStyleWord(true);
                    condition.setMinimumSize(new Dimension(200, 16));
                    scrollPane22.setViewportView(condition);
                }
                panel28.add(scrollPane22, cc.xy(1, 13, CellConstraints.DEFAULT, CellConstraints.FILL));
            }
            accesionNotesPanel.add(panel28, cc.xy(1, 1));

            //======== panel30 ========
            {
                panel30.setOpaque(false);
                panel30.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,
                        new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                        new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                        FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                //---- label_inventory ----
                label_inventory.setText("Inventory");
                label_inventory.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_inventory, Accessions.class,
                        Accessions.PROPERTYNAME_INVENTORY);
                panel30.add(label_inventory, cc.xy(1, 1));

                //======== scrollPane23 ========
                {
                    scrollPane23.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane23.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane23.setPreferredSize(new Dimension(200, 84));

                    //---- inventory ----
                    inventory.setRows(5);
                    inventory.setLineWrap(true);
                    inventory.setWrapStyleWord(true);
                    inventory.setMinimumSize(new Dimension(200, 16));
                    scrollPane23.setViewportView(inventory);
                }
                panel30.add(scrollPane23, cc.xy(1, 3, CellConstraints.DEFAULT, CellConstraints.FILL));

                //---- label_accessionDispositionNote ----
                label_accessionDispositionNote.setText("Accession Disposition Note");
                label_accessionDispositionNote.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_accessionDispositionNote, Accessions.class,
                        Accessions.PROPERTYNAME_DISPOSITION_NOTE);
                panel30.add(label_accessionDispositionNote, cc.xy(1, 5));

                //======== scrollPane4223 ========
                {
                    scrollPane4223.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane4223.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane4223.setPreferredSize(new Dimension(200, 68));

                    //---- accessionDispositionNote ----
                    accessionDispositionNote.setRows(4);
                    accessionDispositionNote.setLineWrap(true);
                    accessionDispositionNote.setWrapStyleWord(true);
                    accessionDispositionNote.setMinimumSize(new Dimension(200, 16));
                    scrollPane4223.setViewportView(accessionDispositionNote);
                }
                panel30.add(scrollPane4223, cc.xy(1, 7, CellConstraints.FILL, CellConstraints.FILL));

                //---- label_resourceType2 ----
                label_resourceType2.setText("External Documents");
                label_resourceType2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel30.add(label_resourceType2, cc.xy(1, 9));

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

                    //---- externalDocumentsTable ----
                    externalDocumentsTable.setPreferredScrollableViewportSize(new Dimension(200, 100));
                    externalDocumentsTable.addMouseListener(new MouseAdapter() {
                        @Override
                        public void mouseClicked(MouseEvent e) {
                            externalDocumentsTableMouseClicked(e);
                        }
                    });
                    scrollPane5.setViewportView(externalDocumentsTable);
                }
                panel30.add(scrollPane5, cc.xy(1, 11, CellConstraints.DEFAULT, CellConstraints.FILL));

                //======== panel16 ========
                {
                    panel16.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    panel16.setBackground(new Color(200, 205, 232));
                    panel16.setMinimumSize(new Dimension(100, 29));
                    panel16.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")));

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

                    //---- removeExternalLinkButton ----
                    removeExternalLinkButton.setText("Remove Document");
                    removeExternalLinkButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    removeExternalLinkButton.setOpaque(false);
                    removeExternalLinkButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            removeExternalLinkButtonActionPerformed(e);
                        }
                    });
                    panel16.add(removeExternalLinkButton, cc.xy(3, 1));

                    //---- openInBrowser ----
                    openInBrowser.setText("Open in Browser");
                    openInBrowser.setOpaque(false);
                    openInBrowser.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            openInBrowserActionPerformed();
                        }
                    });
                    panel16.add(openInBrowser, cc.xy(5, 1));
                }
                panel30.add(panel16, cc.xy(1, 13, CellConstraints.CENTER, CellConstraints.DEFAULT));
            }
            accesionNotesPanel.add(panel30, cc.xy(3, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
        }
        tabbedPane.addTab("Accession Notes", accesionNotesPanel);

        //======== panel31 ========
        {
            panel31.setBackground(new Color(200, 205, 232));
            panel31.setLayout(new FormLayout(
                    new ColumnSpec[] { 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("fill:default:grow")));
            ((FormLayout) panel31.getLayout()).setColumnGroups(new int[][] { { 1, 3 } });

            //======== panel32 ========
            {
                panel32.setOpaque(false);
                panel32.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,
                                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,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                //---- label_acknowledgementDate2 ----
                label_acknowledgementDate2.setText("User Defined Date 1");
                label_acknowledgementDate2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_acknowledgementDate2, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_DATE1);
                panel32.add(label_acknowledgementDate2, cc.xy(1, 1));

                //---- acknowledgementDate2 ----
                acknowledgementDate2.setColumns(10);
                panel32.add(acknowledgementDate2, cc.xy(3, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_acknowledgementDate3 ----
                label_acknowledgementDate3.setText("User Defined Date 2");
                label_acknowledgementDate3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_acknowledgementDate3, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_DATE2);
                panel32.add(label_acknowledgementDate3, cc.xy(1, 3));

                //---- acknowledgementDate3 ----
                acknowledgementDate3.setColumns(10);
                panel32.add(acknowledgementDate3, cc.xy(3, 3, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- rights2 ----
                rights2.setText("User Defined Boolean 1");
                rights2.setOpaque(false);
                rights2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                rights2.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_USER_DEFINED_BOOLEAN1));
                panel32.add(rights2, cc.xywh(1, 5, 3, 1));

                //---- rights3 ----
                rights3.setText("User Defined Boolean 2");
                rights3.setOpaque(false);
                rights3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                rights3.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_USER_DEFINED_BOOLEAN2));
                panel32.add(rights3, cc.xywh(1, 7, 3, 1));

                //---- label_date1Begin2 ----
                label_date1Begin2.setText("User Defined Integer 1");
                label_date1Begin2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin2, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_INTEGER1);
                panel32.add(label_date1Begin2, cc.xy(1, 9));

                //---- date1Begin2 ----
                date1Begin2.setColumns(6);
                panel32.add(date1Begin2, cc.xy(3, 9, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_date1Begin3 ----
                label_date1Begin3.setText("User Defined Integer 2");
                label_date1Begin3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin3, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_INTEGER2);
                panel32.add(label_date1Begin3, cc.xy(1, 11));

                //---- date1Begin3 ----
                date1Begin3.setColumns(6);
                panel32.add(date1Begin3, cc.xy(3, 11, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_date1Begin4 ----
                label_date1Begin4.setText("User Defined Real 1");
                label_date1Begin4.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin4, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_REAL1);
                panel32.add(label_date1Begin4, cc.xy(1, 13));

                //---- extentNumber2 ----
                extentNumber2.setColumns(5);
                panel32.add(extentNumber2, cc.xy(3, 13, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_date1Begin5 ----
                label_date1Begin5.setText("User Defined Real 2");
                label_date1Begin5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin5, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_REAL2);
                panel32.add(label_date1Begin5, cc.xy(1, 15));

                //---- extentNumber3 ----
                extentNumber3.setColumns(5);
                panel32.add(extentNumber3, cc.xy(3, 15, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_date1Begin6 ----
                label_date1Begin6.setText("User Defined String 1");
                label_date1Begin6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin6, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_STRING1);
                panel32.add(label_date1Begin6, cc.xy(1, 17));
                panel32.add(dateExpression2, new CellConstraints(3, 17, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));

                //---- label_date1Begin7 ----
                label_date1Begin7.setText("User Defined String 2");
                label_date1Begin7.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin7, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_STRING2);
                panel32.add(label_date1Begin7, cc.xy(1, 19));
                panel32.add(dateExpression3, new CellConstraints(3, 19, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));

                //---- label_date1Begin8 ----
                label_date1Begin8.setText("User Defined String 3");
                label_date1Begin8.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin8, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_STRING3);
                panel32.add(label_date1Begin8, cc.xy(1, 21));
                panel32.add(dateExpression4, new CellConstraints(3, 21, 1, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));

                //---- label_date1Begin9 ----
                label_date1Begin9.setText("User Defined Text 1");
                label_date1Begin9.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin9, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_TEXT1);
                panel32.add(label_date1Begin9, cc.xy(1, 23));

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

                    //---- title3 ----
                    title3.setRows(4);
                    title3.setLineWrap(true);
                    title3.setWrapStyleWord(true);
                    title3.setMinimumSize(new Dimension(200, 16));
                    scrollPane44.setViewportView(title3);
                }
                panel32.add(scrollPane44, cc.xywh(1, 25, 3, 1));
            }
            panel31.add(panel32, cc.xy(1, 1));

            //======== panel35 ========
            {
                panel35.setOpaque(false);
                panel35.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,
                        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) }));

                //---- label_date1Begin10 ----
                label_date1Begin10.setText("User Defined Text 2");
                label_date1Begin10.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin10, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_TEXT2);
                panel35.add(label_date1Begin10, cc.xy(1, 1));

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

                    //---- title4 ----
                    title4.setRows(4);
                    title4.setLineWrap(true);
                    title4.setWrapStyleWord(true);
                    title4.setMinimumSize(new Dimension(200, 16));
                    scrollPane45.setViewportView(title4);
                }
                panel35.add(scrollPane45, cc.xy(1, 3));

                //---- label_date1Begin11 ----
                label_date1Begin11.setText("User Defined Text 3");
                label_date1Begin11.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin11, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_TEXT3);
                panel35.add(label_date1Begin11, cc.xy(1, 5));

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

                    //---- title5 ----
                    title5.setRows(4);
                    title5.setLineWrap(true);
                    title5.setWrapStyleWord(true);
                    title5.setMinimumSize(new Dimension(200, 16));
                    scrollPane46.setViewportView(title5);
                }
                panel35.add(scrollPane46, cc.xy(1, 7));

                //---- label_date1Begin12 ----
                label_date1Begin12.setText("User Defined Text 4");
                label_date1Begin12.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_date1Begin12, Accessions.class,
                        Accessions.PROPERTYNAME_USER_DEFINED_TEXT4);
                panel35.add(label_date1Begin12, cc.xy(1, 9));

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

                    //---- title6 ----
                    title6.setRows(4);
                    title6.setLineWrap(true);
                    title6.setWrapStyleWord(true);
                    title6.setMinimumSize(new Dimension(200, 16));
                    scrollPane47.setViewportView(title6);
                }
                panel35.add(scrollPane47, cc.xy(1, 11));
            }
            panel31.add(panel35, cc.xy(3, 1));
        }
        tabbedPane.addTab("User defined fields", panel31);

        //======== nonPreferredNamePanel ========
        {
            nonPreferredNamePanel.setBackground(new Color(200, 205, 232));
            nonPreferredNamePanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            nonPreferredNamePanel.setBorder(Borders.DLU2_BORDER);
            nonPreferredNamePanel.setLayout(new FormLayout(ColumnSpec.decodeSpecs("default:grow"),
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.TOP, 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) nonPreferredNamePanel.getLayout()).setRowGroups(new int[][] { { 3, 11 } });

            //---- SubjectsLabel2 ----
            SubjectsLabel2.setText("Names");
            SubjectsLabel2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            nonPreferredNamePanel.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);
            }
            nonPreferredNamePanel.add(scrollPane1, cc.xy(1, 3, 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.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(e);
                    }
                });
                panel8.add(addNameRelationshipButton, cc.xy(3, 1));

                //---- removeNameRelationshipButton ----
                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(e);
                    }
                });
                panel8.add(removeNameRelationshipButton, cc.xy(5, 1));
            }
            nonPreferredNamePanel.add(panel8, cc.xy(1, 5, 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));
            nonPreferredNamePanel.add(separator5, cc.xy(1, 7));

            //---- SubjectsLabel ----
            SubjectsLabel.setText("Subjects");
            SubjectsLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            nonPreferredNamePanel.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);
            }
            nonPreferredNamePanel.add(scrollPane3, cc.xy(1, 11));

            //======== panel10 ========
            {
                panel10.setBackground(new Color(231, 188, 251));
                panel10.setOpaque(false);
                panel10.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                panel10.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(e);
                    }
                });
                panel10.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(e);
                    }
                });
                panel10.add(removeSubjectRelationshipButton, cc.xy(3, 1));
            }
            nonPreferredNamePanel.add(panel10, cc.xy(1, 13, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        tabbedPane.addTab("Names & Subjects", nonPreferredNamePanel);

        //======== collectionInfoPanel ========
        {
            collectionInfoPanel.setBackground(new Color(200, 205, 232));
            collectionInfoPanel.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            collectionInfoPanel.setBorder(Borders.DLU2_BORDER);
            collectionInfoPanel.setMinimumSize(new Dimension(640, 403));
            collectionInfoPanel.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) collectionInfoPanel.getLayout()).setColumnGroups(new int[][] { { 1, 5 } });

            //======== panel39 ========
            {
                panel39.setOpaque(false);
                panel39.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(ColumnSpec.LEFT, Sizes.DLUX14, FormSpec.NO_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, 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),
                                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) }));

                //---- ExtentNumberLabel3 ----
                ExtentNumberLabel3.setText("Acknowledgements & Restrictions");
                ExtentNumberLabel3.setForeground(new Color(0, 0, 102));
                ExtentNumberLabel3.setFont(new Font("Trebuchet MS", Font.PLAIN, 16));
                panel39.add(ExtentNumberLabel3,
                        cc.xywh(1, 1, 7, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

                //---- rights5 ----
                rights5.setText("Acknowledgement Sent");
                rights5.setOpaque(false);
                rights5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                rights5.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_ACKNOWLEDGEMENT_SENT));
                panel39.add(rights5, cc.xy(1, 3));

                //---- label_acknowledgementDate4 ----
                label_acknowledgementDate4.setText("Acknowledgement Date");
                label_acknowledgementDate4.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_acknowledgementDate4, Accessions.class,
                        Accessions.PROPERTYNAME_ACKNOWLEDGEMENT_DATE);
                panel39.add(label_acknowledgementDate4, cc.xy(5, 3));

                //---- acknowledgementDate4 ----
                acknowledgementDate4.setColumns(10);
                panel39.add(acknowledgementDate4, cc.xy(7, 3, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- rights6 ----
                rights6.setText("Agreement Sent");
                rights6.setOpaque(false);
                rights6.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                rights6.setText(ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_AGREEMENT_SENT));
                panel39.add(rights6, cc.xy(1, 5));

                //---- label_agreementSent2 ----
                label_agreementSent2.setText("Agreement Sent Date");
                label_agreementSent2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_agreementSent2, Accessions.class,
                        Accessions.PROPERTYNAME_AGREEMENT_SENT_DATE);
                panel39.add(label_agreementSent2, cc.xy(5, 5));

                //---- agreementSent2 ----
                agreementSent2.setColumns(10);
                panel39.add(agreementSent2, cc.xy(7, 5, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- rights7 ----
                rights7.setText("Agreement Received");
                rights7.setOpaque(false);
                rights7.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                rights7.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_AGREEMENT_RECEIVED));
                panel39.add(rights7, cc.xy(1, 7));

                //---- label_agreementReceived ----
                label_agreementReceived.setText("Agreement Received Date");
                label_agreementReceived.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_agreementReceived, Accessions.class,
                        Accessions.PROPERTYNAME_AGREEMENT_RECEIVED_DATE);
                panel39.add(label_agreementReceived, cc.xy(5, 7));

                //---- agreementReceived ----
                agreementReceived.setColumns(10);
                panel39.add(agreementReceived, cc.xy(7, 7, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- rights ----
                rights.setText("Rights Transferred");
                rights.setOpaque(false);
                rights.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                rights.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_RIGHTS_TRANSFERRED));
                panel39.add(rights, cc.xy(1, 9));

                //---- label_agreementReceived2 ----
                label_agreementReceived2.setText("Rights Transferred Date");
                label_agreementReceived2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_agreementReceived2, Accessions.class,
                        Accessions.PROPERTYNAME_RIGHTS_TRANSFERRED_DATE);
                panel39.add(label_agreementReceived2, cc.xy(5, 9));

                //---- agreementReceived2 ----
                agreementReceived2.setColumns(10);
                panel39.add(agreementReceived2, cc.xy(7, 9, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- labelAccess3 ----
                labelAccess3.setText("Rights Transferred Note");
                labelAccess3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(labelAccess3, Accessions.class,
                        Accessions.PROPERTYNAME_RIGHTS_TRANSFERRED_NOTE);
                panel39.add(labelAccess3, cc.xy(1, 11));

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

                    //---- terms3 ----
                    terms3.setRows(4);
                    terms3.setLineWrap(true);
                    terms3.setWrapStyleWord(true);
                    terms3.setMinimumSize(new Dimension(200, 16));
                    scrollPane435.setViewportView(terms3);
                }
                panel39.add(scrollPane435, cc.xywh(1, 13, 7, 1));

                //---- restrictionsApply ----
                restrictionsApply.setText("Restrictions Apply");
                restrictionsApply.setOpaque(false);
                restrictionsApply.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                restrictionsApply.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_RESTRICTIONS_APPLY));
                panel39.add(restrictionsApply, cc.xy(1, 15));

                //---- restrictionsApply2 ----
                restrictionsApply2.setText("Access Restrictions");
                restrictionsApply2.setOpaque(false);
                restrictionsApply2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                restrictionsApply2.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_ACCESS_RESTRICTIONS));
                panel39.add(restrictionsApply2, cc.xy(1, 17));

                //---- labelAccess ----
                labelAccess.setText("Access Restrictions Note");
                labelAccess.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(labelAccess, Accessions.class,
                        Accessions.PROPERTYNAME_ACCESS_RESTRICTIONS_NOTE);
                panel39.add(labelAccess, cc.xy(1, 19));

                //======== scrollPane432 ========
                {
                    scrollPane432.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane432.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane432.setPreferredSize(new Dimension(200, 68));

                    //---- terms ----
                    terms.setRows(4);
                    terms.setLineWrap(true);
                    terms.setWrapStyleWord(true);
                    terms.setMinimumSize(new Dimension(200, 16));
                    scrollPane432.setViewportView(terms);
                }
                panel39.add(scrollPane432, cc.xywh(1, 21, 7, 1));

                //---- restrictionsApply3 ----
                restrictionsApply3.setText("Use Restrictions");
                restrictionsApply3.setOpaque(false);
                restrictionsApply3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                restrictionsApply3.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_USE_RESTRICTIONS));
                panel39.add(restrictionsApply3, cc.xy(1, 23));

                //---- labelAccess2 ----
                labelAccess2.setText("Use Restrictions Note");
                labelAccess2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(labelAccess2, Accessions.class,
                        Accessions.PROPERTYNAME_USE_RESTRICTIONS_NOTE);
                panel39.add(labelAccess2, cc.xy(1, 25));

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

                    //---- terms2 ----
                    terms2.setRows(4);
                    terms2.setLineWrap(true);
                    terms2.setWrapStyleWord(true);
                    terms2.setMinimumSize(new Dimension(200, 16));
                    scrollPane433.setViewportView(terms2);
                }
                panel39.add(scrollPane433, cc.xywh(1, 27, 7, 1));
            }
            collectionInfoPanel.add(panel39, cc.xy(1, 1));

            //---- separator1 ----
            separator1.setOrientation(SwingConstants.VERTICAL);
            collectionInfoPanel.add(separator1, cc.xy(3, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

            //======== panel37 ========
            {
                panel37.setOpaque(false);
                panel37.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) },
                        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,
                                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, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

                //---- ExtentNumberLabel4 ----
                ExtentNumberLabel4.setText("Processing Tasks");
                ExtentNumberLabel4.setForeground(new Color(0, 0, 102));
                ExtentNumberLabel4.setFont(new Font("Trebuchet MS", Font.PLAIN, 16));
                panel37.add(ExtentNumberLabel4,
                        cc.xywh(1, 1, 5, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));

                //---- label_resourceType3 ----
                label_resourceType3.setText("Processing Priority");
                label_resourceType3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_resourceType3, Accessions.class,
                        Accessions.PROPERTYNAME_PROCESSING_PRIORITY);
                panel37.add(label_resourceType3, cc.xy(1, 3, CellConstraints.FILL, CellConstraints.DEFAULT));

                //======== panel3 ========
                {
                    panel3.setOpaque(false);
                    panel3.setLayout(new FormLayout("default:grow", "default"));

                    //---- resourceType2 ----
                    resourceType2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    resourceType2.setOpaque(false);
                    panel3.add(resourceType2, cc.xy(1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel37.add(panel3, cc.xywh(3, 3, 3, 1));

                //---- label_resourceType4 ----
                label_resourceType4.setText("Processor");
                label_resourceType4.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_resourceType4, Accessions.class,
                        Accessions.PROPERTYNAME_PROCESSORS);
                panel37.add(label_resourceType4, cc.xy(1, 5, CellConstraints.FILL, CellConstraints.DEFAULT));
                panel37.add(dateExpression5, new CellConstraints(3, 5, 3, 1, CellConstraints.DEFAULT,
                        CellConstraints.DEFAULT, new Insets(0, 0, 0, 5)));

                //---- label_processingPlan ----
                label_processingPlan.setText("Processing Plan");
                label_processingPlan.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_processingPlan, Accessions.class,
                        Accessions.PROPERTYNAME_PROCESSING_PLAN);
                panel37.add(label_processingPlan, cc.xywh(1, 7, 3, 1));

                //======== scrollPane4222 ========
                {
                    scrollPane4222.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane4222.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane4222.setPreferredSize(new Dimension(200, 68));

                    //---- processingPlan ----
                    processingPlan.setRows(4);
                    processingPlan.setLineWrap(true);
                    processingPlan.setWrapStyleWord(true);
                    processingPlan.setMinimumSize(new Dimension(200, 16));
                    scrollPane4222.setViewportView(processingPlan);
                }
                panel37.add(scrollPane4222, cc.xywh(1, 9, 5, 1));

                //---- label_dateProcessed3 ----
                label_dateProcessed3.setText("Processing Started");
                label_dateProcessed3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_dateProcessed3, Accessions.class,
                        Accessions.PROPERTYNAME_PROCESSING_STARTED_DATE);
                panel37.add(label_dateProcessed3, cc.xy(1, 11));

                //---- dateProcessed3 ----
                dateProcessed3.setColumns(10);
                panel37.add(dateProcessed3, cc.xy(3, 11, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_resourceType5 ----
                label_resourceType5.setText("Processing Status");
                label_resourceType5.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_resourceType5, Accessions.class,
                        Accessions.PROPERTYNAME_PROCESSING_STATUS);
                panel37.add(label_resourceType5, cc.xy(1, 13, CellConstraints.FILL, CellConstraints.DEFAULT));

                //======== panel1 ========
                {
                    panel1.setOpaque(false);
                    panel1.setLayout(new FormLayout("default:grow", "default"));

                    //---- resourceType3 ----
                    resourceType3.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    resourceType3.setOpaque(false);
                    panel1.add(resourceType3, cc.xy(1, 1, CellConstraints.LEFT, CellConstraints.DEFAULT));
                }
                panel37.add(panel1, cc.xywh(3, 13, 3, 1));

                //---- cataloged2 ----
                cataloged2.setText("Accession Processed");
                cataloged2.setOpaque(false);
                cataloged2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                cataloged2.setText(
                        ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_ACCESSION_PROCESSED));
                panel37.add(cataloged2, cc.xy(1, 15));

                //---- label_dateProcessed ----
                label_dateProcessed.setText("Date Processed");
                label_dateProcessed.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_dateProcessed, Accessions.class,
                        Accessions.PROPERTYNAME_ACCESSION_PROCESSED_DATE);
                panel37.add(label_dateProcessed, cc.xy(3, 15));

                //---- dateProcessed ----
                dateProcessed.setColumns(10);
                panel37.add(dateProcessed, cc.xy(5, 15, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- cataloged ----
                cataloged.setText("Cataloged");
                cataloged.setOpaque(false);
                cataloged.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                cataloged.setText(ATFieldInfo.getLabel(Accessions.class, Accessions.PROPERTYNAME_CATALOGED));
                panel37.add(cataloged, cc.xy(1, 17));

                //---- label_dateProcessed2 ----
                label_dateProcessed2.setText("Date Cataloged");
                label_dateProcessed2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_dateProcessed2, Accessions.class,
                        Accessions.PROPERTYNAME_CATALOGED_DATE);
                panel37.add(label_dateProcessed2, cc.xy(3, 17));

                //---- dateProcessed2 ----
                dateProcessed2.setColumns(10);
                panel37.add(dateProcessed2, cc.xy(5, 17, CellConstraints.LEFT, CellConstraints.DEFAULT));

                //---- label_terms2 ----
                label_terms2.setText("Cataloged Note:");
                label_terms2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                ATFieldInfo.assignLabelInfo(label_terms2, Accessions.class,
                        Accessions.PROPERTYNAME_CATALOGED_NOTE);
                panel37.add(label_terms2, cc.xywh(1, 19, 3, 1));

                //======== scrollPane434 ========
                {
                    scrollPane434.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                    scrollPane434.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                    scrollPane434.setPreferredSize(new Dimension(200, 68));

                    //---- catalogedNote ----
                    catalogedNote.setRows(4);
                    catalogedNote.setLineWrap(true);
                    catalogedNote.setWrapStyleWord(true);
                    catalogedNote.setMinimumSize(new Dimension(200, 16));
                    scrollPane434.setViewportView(catalogedNote);
                }
                panel37.add(scrollPane434, cc.xywh(1, 21, 5, 1, CellConstraints.DEFAULT, CellConstraints.FILL));
            }
            collectionInfoPanel.add(panel37, cc.xy(5, 1));
        }
        tabbedPane.addTab("Acknowledgements, Restrictions & Processing Tasks", collectionInfoPanel);

    }
    add(tabbedPane, cc.xy(1, 2, CellConstraints.DEFAULT, CellConstraints.FILL));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

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

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    label_subjectTerm = new JLabel();
    note = ATBasicComponentFactory//from w w  w.  java 2  s.  com
            .createTextField(detailsModel.getModel(AccessionsLocations.PROPERTYNAME_NOTE));
    label_subjectTermType = new JLabel();
    scrollPane1 = new JScrollPane();
    locationTextArea = new JTextArea();
    changeLocationButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBorder(Borders.DLU4_BORDER);
    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,
                    new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LINE_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC }));

    //---- label_subjectTerm ----
    label_subjectTerm.setText("Note/Container Info");
    label_subjectTerm.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label_subjectTerm, Accessions.class, AccessionsLocations.PROPERTYNAME_NOTE);
    add(label_subjectTerm, cc.xy(1, 1));
    add(note, cc.xy(3, 1));

    //---- label_subjectTermType ----
    label_subjectTermType.setText("Location");
    label_subjectTermType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label_subjectTermType, Accessions.class,
            AccessionsLocations.PROPERTYNAME_LOCATION);
    add(label_subjectTermType, cc.xy(1, 3));

    //======== scrollPane1 ========
    {
        scrollPane1.setBorder(null);
        scrollPane1.setOpaque(false);

        //---- locationTextArea ----
        locationTextArea.setRows(3);
        locationTextArea.setOpaque(false);
        locationTextArea.setEditable(false);
        locationTextArea.setLineWrap(true);
        locationTextArea.setWrapStyleWord(true);
        scrollPane1.setViewportView(locationTextArea);
    }
    add(scrollPane1, cc.xy(3, 3));

    //---- changeLocationButton ----
    changeLocationButton.setText("Change Location");
    changeLocationButton.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            changeLocationButtonActionPerformed();
        }
    });
    add(changeLocationButton, cc.xywh(3, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

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

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    panel1 = new JPanel();
    internalOnly = ATBasicComponentFactory.createCheckBox(detailsModel,
            ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_NOTE_INTERNAL_ONLY, ArchDescriptionNotes.class);
    multiPart = ATBasicComponentFactory.createCheckBox(detailsModel,
            ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_MULTI_PART, ArchDescriptionNotes.class);
    panel2 = new JPanel();
    label3 = new JLabel();
    persistentId = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(ArchDescriptionRepeatingData.PROPERTYNAME_PERSISTENT_ID));
    label1 = new JLabel();
    notesType = new JComboBox();
    label2 = new JLabel();
    title = ATBasicComponentFactory//from w w  w  .  j  a  v  a2 s.  c o  m
            .createTextField(detailsModel.getModel(ArchDescriptionRepeatingData.PROPERTYNAME_TITLE));
    cardPane = new JPanel();
    simpleNote = new JPanel();
    label14 = new JLabel();
    scrollPane1 = new JScrollPane();
    noteContent = ATBasicComponentFactory.createTextArea(
            detailsModel.getModel(ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_NOTE_CONTENT), false);
    tagApplicatorPanel = new JPanel();
    insertInlineTag = new JComboBox();
    multiPartNote = new JPanel();
    scrollPane6 = new JScrollPane();
    repeatingDataTable = new DomainSortedTable(ArchDescriptionRepeatingData.class);
    panel15 = new JPanel();
    addPartComboBox = new JComboBox();
    removePartButton = new JButton();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBorder(Borders.DLU4_BORDER);
    setPreferredSize(new Dimension(800, 500));
    setBackground(new Color(200, 205, 232));
    setLayout(new FormLayout(
            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                    new ColumnSpec(ColumnSpec.FILL, Sizes.MINIMUM, FormSpec.DEFAULT_GROW) },
            new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.RELATED_GAP_ROWSPEC,
                    FormFactory.DEFAULT_ROWSPEC, FormFactory.RELATED_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                    FormFactory.RELATED_GAP_ROWSPEC,
                    new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

    //======== 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,
                        new ColumnSpec(ColumnSpec.RIGHT, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                RowSpec.decodeSpecs("default")));

        //---- internalOnly ----
        internalOnly.setBackground(new Color(231, 188, 251));
        internalOnly.setText("Internal Only");
        internalOnly.setOpaque(false);
        internalOnly.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        panel1.add(internalOnly, cc.xy(1, 1));

        //---- multiPart ----
        multiPart.setBackground(new Color(231, 188, 251));
        multiPart.setText("Multi-part");
        multiPart.setOpaque(false);
        multiPart.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
        multiPart.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                multiPartActionPerformed(e);
            }
        });
        panel1.add(multiPart, cc.xy(3, 1));

        //======== panel2 ========
        {
            panel2.setOpaque(false);
            panel2.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));
            panel2.add(label3, cc.xy(1, 1));

            //---- persistentId ----
            persistentId.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            persistentId.setColumns(3);
            persistentId.setBorder(null);
            persistentId.setEditable(false);
            persistentId.setOpaque(false);
            panel2.add(persistentId, cc.xywh(3, 1, 1, 1, CellConstraints.FILL, CellConstraints.DEFAULT));
        }
        panel1.add(panel2, cc.xy(5, 1));
    }
    add(panel1, cc.xywh(1, 1, 3, 1));

    //---- label1 ----
    label1.setText("Type");
    label1.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label1, ArchDescriptionNotes.class,
            ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_NOTE_TYPE);
    add(label1, cc.xy(1, 3));

    //---- notesType ----
    notesType.setOpaque(false);
    notesType.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    notesType.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            notesTypeActionPerformed(e);
        }
    });
    add(notesType, cc.xy(3, 3));

    //---- label2 ----
    label2.setText("Title");
    label2.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label2, ArchDescriptionNotes.class, ArchDescriptionNotes.PROPERTYNAME_TITLE);
    add(label2, cc.xy(1, 5));
    add(title, new CellConstraints(3, 5, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP,
            new Insets(0, 0, 0, 5)));

    //======== cardPane ========
    {
        cardPane.setLayout(new CardLayout());

        //======== simpleNote ========
        {
            simpleNote.setBorder(null);
            simpleNote.setBackground(new Color(200, 205, 232));
            simpleNote.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) },
                    new RowSpec[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //---- label14 ----
            label14.setText("Note");
            label14.setVerticalAlignment(SwingConstants.TOP);
            label14.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
            ATFieldInfo.assignLabelInfo(label14, ArchDescriptionNotes.class,
                    ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_NOTE_CONTENT);
            simpleNote.add(label14, cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

            //======== scrollPane1 ========
            {
                scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
                scrollPane1.setMaximumSize(new Dimension(32767, 100));

                //---- noteContent ----
                noteContent.setRows(20);
                noteContent.setLineWrap(true);
                noteContent.setTabSize(20);
                noteContent.setWrapStyleWord(true);
                noteContent.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusGained(FocusEvent e) {
                        noteContentFocusGained();
                    }

                    @Override
                    public void focusLost(FocusEvent e) {
                        noteContentFocusLost();
                    }
                });
                scrollPane1.setViewportView(noteContent);
            }
            simpleNote.add(scrollPane1, cc.xywh(3, 1, 3, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

            //======== 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));
            }
            simpleNote.add(tagApplicatorPanel, cc.xywh(3, 3, 3, 1));
        }
        cardPane.add(simpleNote, "simpleNote");

        //======== multiPartNote ========
        {
            multiPartNote.setBorder(Borders.DLU4_BORDER);
            multiPartNote.setBackground(new Color(200, 205, 232));
            multiPartNote
                    .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 }));

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

                //---- repeatingDataTable ----
                repeatingDataTable.setFocusable(false);
                repeatingDataTable.setDragEnabled(true);
                repeatingDataTable.addMouseListener(new MouseAdapter() {
                    @Override
                    public void mouseClicked(MouseEvent e) {
                        repeatingDataTableMouseClicked(e);
                    }

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

                    @Override
                    public void mouseReleased(MouseEvent e) {
                        repeatingDataTableMouseEvent(e);
                    }
                });
                scrollPane6.setViewportView(repeatingDataTable);
            }
            multiPartNote.add(scrollPane6, cc.xywh(1, 1, 3, 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:grow")));

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

                //---- removePartButton ----
                removePartButton.setBackground(new Color(231, 188, 251));
                removePartButton.setText("Remove Part");
                removePartButton.setOpaque(false);
                removePartButton.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
                removePartButton.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        removePartButtonActionPerformed();
                    }
                });
                panel15.add(removePartButton, cc.xy(3, 1));
            }
            multiPartNote.add(panel15, cc.xywh(1, 3, 3, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));
        }
        cardPane.add(multiPartNote, "multiPartNote");
    }
    add(cardPane, cc.xywh(1, 7, 3, 1));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

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

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    tabbedPane1 = new JTabbedPane();
    panel1 = new JPanel();
    panel5 = new JPanel();
    label2 = new JLabel();
    scrollPane1 = new JScrollPane();
    accessionsTable = new DomainSortableTable();
    panel6 = new JPanel();
    button1 = new JButton();
    button2 = new JButton();
    panel13 = new JPanel();
    label6 = new JLabel();
    textField1 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Assessments.PROPERTYNAME_WHO_DID_SURVEY));
    label35 = new JLabel();
    textField17 = ATBasicComponentFactory
            .createDateField(detailsModel.getModel(Assessments.PROPERTYNAME_DATE_OF_SURVEY));
    label34 = new JLabel();
    textField18 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Assessments.PROPERTYNAME_USER_WHO_CREATED_RECORD));
    label7 = new JLabel();
    textField2 = ATBasicComponentFactory.createDoubleField(detailsModel,
            Assessments.PROPERTYNAME_AMOUNT_OF_TIME_SURVEY_TOOK);
    label8 = new JLabel();
    checkBox2 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_REVIEW_NEEDED,
            Assessments.class);
    label9 = new JLabel();
    textField3 = ATBasicComponentFactory
            .createTextField(detailsModel.getModel(Assessments.PROPERTYNAME_WHO_NEEDS_TO_REVIEW));
    panel7 = new JPanel();
    label3 = new JLabel();
    scrollPane2 = new JScrollPane();
    resourcesTable = new DomainSortableTable();
    panel8 = new JPanel();
    button3 = new JButton();
    button4 = new JButton();
    panel9 = new JPanel();
    label4 = new JLabel();
    scrollPane3 = new JScrollPane();
    digitalObjectsTable = new DomainSortableTable();
    panel10 = new JPanel();
    button5 = new JButton();
    button6 = new JButton();
    panel11 = new JPanel();
    label5 = new JLabel();
    scrollPane4 = new JScrollPane();
    reviewNoteTextArea = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Assessments.PROPERTYNAME_REVIEW_NOTE));
    panel12 = new JPanel();
    checkBox1 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_INACTIVE,
            Assessments.class);
    panel2 = new JPanel();
    panel14 = new JPanel();
    label10 = new JLabel();
    textField4 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_CONDITION_OF_MATERIAL_RATING, 1, 5);
    label12 = new JLabel();
    textField6 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_QUALITY_OF_HOUSING_RATING, 1, 5);
    label11 = new JLabel();
    textField5 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_PHYSICAL_ACCESS_RATING, 1, 5);
    label13 = new JLabel();
    textField7 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_INTELLECTUAL_ACCESS_RATING, 1, 5);
    label15 = new JLabel();
    textField9 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_DOCUMENTATION_QUALITY_RATING, 1, 5);
    label14 = new JLabel();
    textField8 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_INTEREST_RATING, 1, 5);
    label16 = new JLabel();
    textField10 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_RESEARCH_VALUE_RATING);
    label17 = new JLabel();
    textField11 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_USER_NUMERICAL_RATING1, 1, 5);
    label18 = new JLabel();
    textField12 = ATBasicComponentFactory.createIntegerField(detailsModel,
            Assessments.PROPERTYNAME_USER_NUMERICAL_RATING2, 1, 5);
    panel17 = new JPanel();
    label25 = new JLabel();
    checkBox3 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE1, Assessments.class);
    checkBox6 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE4, Assessments.class);
    checkBox4 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE2, Assessments.class);
    checkBox7 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE5, Assessments.class);
    checkBox5 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE3, Assessments.class);
    checkBox8 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE6, Assessments.class);
    panel15 = new JPanel();
    label19 = new JLabel();
    scrollPane5 = new JScrollPane();
    textArea1 = ATBasicComponentFactory/*ww w  .  j  a va 2s.  c om*/
            .createTextArea(detailsModel.getModel(Assessments.PROPERTYNAME_GENERAL_NOTE));
    panel16 = new JPanel();
    label20 = new JLabel();
    label21 = new JLabel();
    textField13 = ATBasicComponentFactory.createDoubleField(detailsModel,
            Assessments.PROPERTYNAME_ESTIMATED_PROCESSING_TIME_PER_FOOT);
    label23 = new JLabel();
    textField14 = ATBasicComponentFactory.createDoubleField(detailsModel,
            Assessments.PROPERTYNAME_TOTAL_EXTENT);
    label22 = new JLabel();
    textField15 = ATBasicComponentFactory.createDoubleField(detailsModel,
            Assessments.PROPERTYNAME_TOTAL_ESTIMATED_PROCESSING_TIME);
    label24 = new JLabel();
    panel18 = new JPanel();
    panel19 = new JPanel();
    label26 = new JLabel();
    checkBox9 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE1, Assessments.class);
    checkBox13 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE5, Assessments.class);
    checkBox10 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE2, Assessments.class);
    checkBox14 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE6, Assessments.class);
    checkBox11 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE3, Assessments.class);
    checkBox15 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE7, Assessments.class);
    checkBox12 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE4, Assessments.class);
    checkBox16 = ATBasicComponentFactory.createCheckBox(detailsModel,
            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE8, Assessments.class);
    label27 = new JLabel();
    scrollPane6 = new JScrollPane();
    textArea2 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Assessments.PROPERTYNAME_CONSERVATION_NOTE));
    panel3 = new JPanel();
    panel20 = new JPanel();
    label28 = new JLabel();
    label29 = new JLabel();
    checkBox17 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT1,
            Assessments.class);
    checkBox25 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT9,
            Assessments.class);
    checkBox18 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT2,
            Assessments.class);
    checkBox26 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT10,
            Assessments.class);
    checkBox19 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT3,
            Assessments.class);
    checkBox27 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT11,
            Assessments.class);
    checkBox20 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT4,
            Assessments.class);
    checkBox28 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT12,
            Assessments.class);
    checkBox21 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT5,
            Assessments.class);
    checkBox29 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT13,
            Assessments.class);
    checkBox22 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT6,
            Assessments.class);
    checkBox30 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT14,
            Assessments.class);
    checkBox23 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT7,
            Assessments.class);
    checkBox31 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT15,
            Assessments.class);
    checkBox24 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT8,
            Assessments.class);
    checkBox32 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT16,
            Assessments.class);
    checkBox33 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT17,
            Assessments.class);
    checkBox34 = ATBasicComponentFactory.createCheckBox(detailsModel, Assessments.PROPERTYNAME_SPECIAL_FORMAT18,
            Assessments.class);
    panel22 = new JPanel();
    label31 = new JLabel();
    scrollPane8 = new JScrollPane();
    textArea4 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Assessments.PROPERTYNAME_EXHIBITION_VALUE_NOTE));
    panel23 = new JPanel();
    label32 = new JLabel();
    textField16 = ATBasicComponentFactory.createCurrencyField(detailsModel,
            Assessments.PROPERTYNAME_MONETARY_VALUE, true);
    panel21 = new JPanel();
    label30 = new JLabel();
    scrollPane7 = new JScrollPane();
    textArea3 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Assessments.PROPERTYNAME_SPECIAL_FORMAT_NOTE));
    panel25 = new JPanel();
    label33 = new JLabel();
    scrollPane9 = new JScrollPane();
    textArea5 = ATBasicComponentFactory
            .createTextArea(detailsModel.getModel(Assessments.PROPERTYNAME_MONETARY_VALUE_NOTE));
    panel4 = new JPanel();
    label1 = new JLabel();
    assessmentNumber = new JLabel();
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBackground(new Color(200, 205, 232));
    setLayout(new BorderLayout());

    //======== tabbedPane1 ========
    {
        tabbedPane1.setBackground(new Color(200, 205, 232));
        tabbedPane1.setBorder(new EmptyBorder(0, 10, 0, 10));

        //======== panel1 ========
        {
            panel1.setBackground(new Color(200, 205, 232));
            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 },
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            FormFactory.DEFAULT_ROWSPEC }));

            //======== panel5 ========
            {
                panel5.setBackground(new Color(200, 205, 232));
                panel5.setLayout(new BorderLayout());

                //---- label2 ----
                label2.setText("Accessions Linked to this assessment record");
                panel5.add(label2, BorderLayout.NORTH);

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

                    //---- accessionsTable ----
                    accessionsTable.setPreferredScrollableViewportSize(new Dimension(450, 100));
                    scrollPane1.setViewportView(accessionsTable);
                }
                panel5.add(scrollPane1, BorderLayout.CENTER);

                //======== panel6 ========
                {
                    panel6.setBackground(new Color(200, 205, 232));
                    panel6.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,
                                            FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(
                                                    ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("default")));

                    //---- button1 ----
                    button1.setText("Link Accession");
                    button1.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            linkAccessionActionPerformed();
                        }
                    });
                    panel6.add(button1, cc.xy(3, 1));

                    //---- button2 ----
                    button2.setText("Remove Link");
                    button2.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            removeAccessionActionPerformed();
                        }
                    });
                    panel6.add(button2, cc.xy(5, 1));
                }
                panel5.add(panel6, BorderLayout.SOUTH);
            }
            panel1.add(panel5, cc.xy(1, 1));

            //======== panel13 ========
            {
                panel13.setBackground(new Color(200, 205, 232));
                panel13.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(Sizes.dluX(47)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                FormFactory.DEFAULT_COLSPEC, 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, FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC }));

                //---- label6 ----
                label6.setText("Surveyed by");
                ATFieldInfo.assignLabelInfo(label6, Assessments.class, Assessments.PROPERTYNAME_WHO_DID_SURVEY);
                panel13.add(label6, cc.xy(1, 1));
                panel13.add(textField1, cc.xywh(3, 1, 7, 1));

                //---- label35 ----
                label35.setText("Date of survey");
                ATFieldInfo.assignLabelInfo(label35, Assessments.class,
                        Assessments.PROPERTYNAME_DATE_OF_SURVEY);
                panel13.add(label35, cc.xy(1, 3));
                panel13.add(textField17, cc.xywh(3, 3, 7, 1));

                //---- label34 ----
                label34.setText("User who created record");
                ATFieldInfo.assignLabelInfo(label34, Assessments.class,
                        Assessments.PROPERTYNAME_USER_WHO_CREATED_RECORD);
                panel13.add(label34, cc.xy(1, 5));
                panel13.add(textField18, cc.xywh(3, 5, 7, 1));

                //---- label7 ----
                label7.setText("Time it took to complete survey");
                ATFieldInfo.assignLabelInfo(label7, Assessments.class,
                        Assessments.PROPERTYNAME_AMOUNT_OF_TIME_SURVEY_TOOK);
                panel13.add(label7, cc.xywh(1, 7, 5, 1));

                //---- textField2 ----
                textField2.setColumns(4);
                panel13.add(textField2, cc.xy(7, 7));

                //---- label8 ----
                label8.setText("hours");
                panel13.add(label8, cc.xy(9, 7));

                //---- checkBox2 ----
                checkBox2.setText("Review needed");
                checkBox2.setBackground(new Color(200, 205, 232));
                checkBox2.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_REVIEW_NEEDED));
                panel13.add(checkBox2, cc.xywh(1, 9, 5, 1));

                //---- label9 ----
                label9.setText("Who needs to review");
                ATFieldInfo.assignLabelInfo(label9, Assessments.class,
                        Assessments.PROPERTYNAME_WHO_NEEDS_TO_REVIEW);
                panel13.add(label9, cc.xy(1, 11));
                panel13.add(textField3, cc.xywh(3, 11, 7, 1));
            }
            panel1.add(panel13, cc.xy(5, 1));

            //======== panel7 ========
            {
                panel7.setBackground(new Color(200, 205, 232));
                panel7.setLayout(new BorderLayout());

                //---- label3 ----
                label3.setText("Resources Linked to this assessment record");
                panel7.add(label3, BorderLayout.NORTH);

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

                    //---- resourcesTable ----
                    resourcesTable.setPreferredScrollableViewportSize(new Dimension(450, 100));
                    scrollPane2.setViewportView(resourcesTable);
                }
                panel7.add(scrollPane2, BorderLayout.CENTER);

                //======== panel8 ========
                {
                    panel8.setBackground(new Color(200, 205, 232));
                    panel8.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,
                                            FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(
                                                    ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("default")));

                    //---- button3 ----
                    button3.setText("Link Resource");
                    button3.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            linkResourceActionPerformed();
                        }
                    });
                    panel8.add(button3, cc.xy(3, 1));

                    //---- button4 ----
                    button4.setText("Remove Link");
                    button4.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            removeResourceActionPerformed();
                        }
                    });
                    panel8.add(button4, cc.xy(5, 1));
                }
                panel7.add(panel8, BorderLayout.SOUTH);
            }
            panel1.add(panel7, cc.xy(1, 3));

            //======== panel9 ========
            {
                panel9.setBackground(new Color(200, 205, 232));
                panel9.setLayout(new BorderLayout());

                //---- label4 ----
                label4.setText("Digital Objects Linked to this assessment record");
                panel9.add(label4, BorderLayout.NORTH);

                //======== scrollPane3 ========
                {

                    //---- digitalObjectsTable ----
                    digitalObjectsTable.setPreferredScrollableViewportSize(new Dimension(450, 100));
                    scrollPane3.setViewportView(digitalObjectsTable);
                }
                panel9.add(scrollPane3, BorderLayout.CENTER);

                //======== panel10 ========
                {
                    panel10.setBackground(new Color(200, 205, 232));
                    panel10.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,
                                            FormFactory.DEFAULT_COLSPEC,
                                            FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(
                                                    ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) },
                                    RowSpec.decodeSpecs("default")));

                    //---- button5 ----
                    button5.setText("Link Digital Object");
                    button5.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            linkDigitalObjectActionPerformed();
                        }
                    });
                    panel10.add(button5, cc.xy(3, 1));

                    //---- button6 ----
                    button6.setText("Remove Link");
                    button6.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                            removeDigitalObjectActionPerformed();
                        }
                    });
                    panel10.add(button6, cc.xy(5, 1));
                }
                panel9.add(panel10, BorderLayout.SOUTH);
            }
            panel1.add(panel9, cc.xy(1, 5));

            //======== panel11 ========
            {
                panel11.setBackground(new Color(200, 205, 232));
                panel11.setLayout(new BorderLayout());

                //---- label5 ----
                label5.setText("Review note");
                ATFieldInfo.assignLabelInfo(label5, Assessments.class, Assessments.PROPERTYNAME_REVIEW_NOTE);
                panel11.add(label5, BorderLayout.NORTH);

                //======== scrollPane4 ========
                {

                    //---- reviewNoteTextArea ----
                    reviewNoteTextArea.setRows(10);
                    reviewNoteTextArea.setColumns(25);
                    reviewNoteTextArea.setLineWrap(true);
                    scrollPane4.setViewportView(reviewNoteTextArea);
                }
                panel11.add(scrollPane4, BorderLayout.CENTER);

                //======== panel12 ========
                {
                    panel12.setBackground(new Color(200, 205, 232));
                    panel12.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- checkBox1 ----
                    checkBox1.setText("inactive");
                    checkBox1.setBackground(new Color(200, 205, 232));
                    checkBox1.setText(
                            ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_INACTIVE));
                    panel12.add(checkBox1);
                }
                panel11.add(panel12, BorderLayout.SOUTH);
            }
            panel1.add(panel11, cc.xywh(5, 3, 1, 3));
        }
        tabbedPane1.addTab("Basic Information", panel1);

        //======== panel2 ========
        {
            panel2.setBackground(new Color(200, 205, 232));
            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[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                            FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }));

            //======== panel14 ========
            {
                panel14.setBackground(new Color(200, 205, 232));
                panel14.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 },
                        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 }));

                //---- label10 ----
                label10.setText("Condition of material");
                ATFieldInfo.assignLabelInfo(label10, Assessments.class,
                        Assessments.PROPERTYNAME_CONDITION_OF_MATERIAL_RATING);
                panel14.add(label10, cc.xy(1, 1));

                //---- textField4 ----
                textField4.setColumns(2);
                panel14.add(textField4, cc.xy(3, 1));

                //---- label12 ----
                label12.setText("Quality of housing");
                ATFieldInfo.assignLabelInfo(label12, Assessments.class,
                        Assessments.PROPERTYNAME_QUALITY_OF_HOUSING_RATING);
                panel14.add(label12, cc.xy(5, 1));

                //---- textField6 ----
                textField6.setColumns(2);
                panel14.add(textField6, cc.xy(7, 1));

                //---- label11 ----
                label11.setText("Physical access");
                ATFieldInfo.assignLabelInfo(label11, Assessments.class,
                        Assessments.PROPERTYNAME_PHYSICAL_ACCESS_RATING);
                panel14.add(label11, cc.xy(1, 3));

                //---- textField5 ----
                textField5.setColumns(2);
                panel14.add(textField5, cc.xy(3, 3));

                //---- label13 ----
                label13.setText("Intellectual Access");
                ATFieldInfo.assignLabelInfo(label13, Assessments.class,
                        Assessments.PROPERTYNAME_INTELLECTUAL_ACCESS_RATING);
                panel14.add(label13, cc.xy(5, 3));

                //---- textField7 ----
                textField7.setColumns(2);
                panel14.add(textField7, cc.xy(7, 3));

                //---- label15 ----
                label15.setText("Document Quality");
                ATFieldInfo.assignLabelInfo(label15, Assessments.class,
                        Assessments.PROPERTYNAME_DOCUMENTATION_QUALITY_RATING);
                panel14.add(label15, cc.xy(1, 5));

                //---- textField9 ----
                textField9.setColumns(2);
                textField9.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusLost(FocusEvent e) {
                        setResearchValueRating();
                    }
                });
                panel14.add(textField9, cc.xy(3, 5));

                //---- label14 ----
                label14.setText("Interest");
                ATFieldInfo.assignLabelInfo(label14, Assessments.class,
                        Assessments.PROPERTYNAME_INTEREST_RATING);
                panel14.add(label14, cc.xy(5, 5));

                //---- textField8 ----
                textField8.setColumns(2);
                textField8.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusLost(FocusEvent e) {
                        setResearchValueRating();
                    }
                });
                panel14.add(textField8, cc.xy(7, 5));

                //---- label16 ----
                label16.setText("Research Value");
                ATFieldInfo.assignLabelInfo(label16, Assessments.class,
                        Assessments.PROPERTYNAME_RESEARCH_VALUE_RATING);
                panel14.add(label16, cc.xy(5, 7));

                //---- textField10 ----
                textField10.setColumns(2);
                textField10.setEditable(false);
                panel14.add(textField10, cc.xy(7, 7));

                //---- label17 ----
                label17.setText("User Rating 1");
                ATFieldInfo.assignLabelInfo(label17, Assessments.class,
                        Assessments.PROPERTYNAME_USER_NUMERICAL_RATING1);
                panel14.add(label17, cc.xy(1, 9));

                //---- textField11 ----
                textField11.setColumns(2);
                panel14.add(textField11, cc.xy(3, 9));

                //---- label18 ----
                label18.setText("User Rating 2");
                ATFieldInfo.assignLabelInfo(label18, Assessments.class,
                        Assessments.PROPERTYNAME_USER_NUMERICAL_RATING2);
                panel14.add(label18, cc.xy(5, 9));

                //---- textField12 ----
                textField12.setColumns(2);
                panel14.add(textField12, cc.xy(7, 9));
            }
            panel2.add(panel14, cc.xy(1, 1));

            //======== panel17 ========
            {
                panel17.setBackground(new Color(200, 205, 232));
                panel17.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                FormFactory.DEFAULT_COLSPEC, 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, FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                FormFactory.DEFAULT_ROWSPEC }));

                //---- label25 ----
                label25.setText("Special Conservation issues");
                ATFieldInfo.assignLabelTooltip(label25, Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE1);
                panel17.add(label25, cc.xywh(1, 1, 3, 1));

                //---- checkBox3 ----
                checkBox3.setText("mold damage");
                checkBox3.setBackground(new Color(200, 205, 232));
                checkBox3.setText(ATFieldInfo.getLabel(Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE1));
                panel17.add(checkBox3, cc.xy(3, 3));

                //---- checkBox6 ----
                checkBox6.setText("Special conservation issue1");
                checkBox6.setBackground(new Color(200, 205, 232));
                checkBox6.setText(ATFieldInfo.getLabel(Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE4));
                panel17.add(checkBox6, cc.xy(5, 3));

                //---- checkBox4 ----
                checkBox4.setText("pest damage");
                checkBox4.setBackground(new Color(200, 205, 232));
                checkBox4.setText(ATFieldInfo.getLabel(Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE2));
                panel17.add(checkBox4, cc.xy(3, 5));

                //---- checkBox7 ----
                checkBox7.setText("Special conservation issue2");
                checkBox7.setBackground(new Color(200, 205, 232));
                checkBox7.setText(ATFieldInfo.getLabel(Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE5));
                panel17.add(checkBox7, cc.xy(5, 5));

                //---- checkBox5 ----
                checkBox5.setText("deteriorating film base");
                checkBox5.setBackground(new Color(200, 205, 232));
                checkBox5.setText(ATFieldInfo.getLabel(Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE3));
                panel17.add(checkBox5, cc.xy(3, 7));

                //---- checkBox8 ----
                checkBox8.setText("Special conservation issue3");
                checkBox8.setBackground(new Color(200, 205, 232));
                checkBox8.setText(ATFieldInfo.getLabel(Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_CONSERVATION_ISSUE6));
                panel17.add(checkBox8, cc.xy(5, 7));
            }
            panel2.add(panel17, cc.xy(5, 1));

            //======== panel15 ========
            {
                panel15.setBackground(new Color(200, 205, 232));
                panel15.setLayout(new BorderLayout());

                //---- label19 ----
                label19.setText("General note");
                ATFieldInfo.assignLabelTooltip(label19, Assessments.class,
                        Assessments.PROPERTYNAME_GENERAL_NOTE);
                panel15.add(label19, BorderLayout.NORTH);

                //======== scrollPane5 ========
                {

                    //---- textArea1 ----
                    textArea1.setRows(8);
                    textArea1.setColumns(25);
                    textArea1.setLineWrap(true);
                    scrollPane5.setViewportView(textArea1);
                }
                panel15.add(scrollPane5, BorderLayout.CENTER);
            }
            panel2.add(panel15, cc.xy(1, 3));

            //======== panel16 ========
            {
                panel16.setBackground(new Color(200, 205, 232));
                panel16.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(Sizes.dluX(82)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(Sizes.dluX(23)) },
                        new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                                new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.NO_GROW),
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC,
                                FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

                //---- label20 ----
                label20.setText("Estimated processing time (EPT)");
                panel16.add(label20, cc.xywh(1, 5, 9, 1));

                //---- label21 ----
                label21.setText("Hours per foot");
                ATFieldInfo.assignLabelTooltip(label21, Assessments.class,
                        Assessments.PROPERTYNAME_ESTIMATED_PROCESSING_TIME_PER_FOOT);
                panel16.add(label21, cc.xy(3, 7));

                //---- textField13 ----
                textField13.setColumns(5);
                textField13.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusLost(FocusEvent e) {
                        calculateTotalEPT();
                    }
                });
                panel16.add(textField13, cc.xy(5, 7));

                //---- label23 ----
                label23.setText("Multiplied by total extent");
                ATFieldInfo.assignLabelTooltip(label23, Assessments.class,
                        Assessments.PROPERTYNAME_TOTAL_EXTENT);
                panel16.add(label23, cc.xy(7, 7));

                //---- textField14 ----
                textField14.setColumns(5);
                textField14.addFocusListener(new FocusAdapter() {
                    @Override
                    public void focusLost(FocusEvent e) {
                        calculateTotalEPT();
                    }
                });
                panel16.add(textField14, cc.xy(9, 7));

                //---- label22 ----
                label22.setText("Equals Total EPT");
                ATFieldInfo.assignLabelTooltip(label22, Assessments.class,
                        Assessments.PROPERTYNAME_TOTAL_ESTIMATED_PROCESSING_TIME);
                panel16.add(label22, cc.xy(3, 9));

                //---- textField15 ----
                textField15.setColumns(5);
                textField15.setEditable(false);
                panel16.add(textField15, cc.xy(5, 9));

                //---- label24 ----
                label24.setText("hours");
                panel16.add(label24, cc.xy(7, 9));
            }
            panel2.add(panel16, cc.xy(1, 5));

            //======== panel18 ========
            {
                panel18.setBackground(new Color(200, 205, 232));
                panel18.setLayout(new BorderLayout());

                //======== panel19 ========
                {
                    panel19.setBackground(new Color(200, 205, 232));
                    panel19.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC,
                                    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, FormFactory.LINE_GAP_ROWSPEC,
                                    FormFactory.DEFAULT_ROWSPEC }));

                    //---- label26 ----
                    label26.setText("Other Conservation issues");
                    ATFieldInfo.assignLabelTooltip(label26, Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE1);
                    panel19.add(label26, cc.xywh(1, 1, 5, 1));

                    //---- checkBox9 ----
                    checkBox9.setText("Brittle paper");
                    checkBox9.setBackground(new Color(200, 205, 232));
                    checkBox9.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE1));
                    panel19.add(checkBox9, cc.xy(3, 3));

                    //---- checkBox13 ----
                    checkBox13.setText("Thermofax paper");
                    checkBox13.setBackground(new Color(200, 205, 232));
                    checkBox13.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE5));
                    panel19.add(checkBox13, cc.xy(5, 3));

                    //---- checkBox10 ----
                    checkBox10.setText("Metal fasteners");
                    checkBox10.setBackground(new Color(200, 205, 232));
                    checkBox10.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE2));
                    panel19.add(checkBox10, cc.xy(3, 5));

                    //---- checkBox14 ----
                    checkBox14.setText("Other conservation issue1");
                    checkBox14.setBackground(new Color(200, 205, 232));
                    checkBox14.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE6));
                    panel19.add(checkBox14, cc.xy(5, 5));

                    //---- checkBox11 ----
                    checkBox11.setText("Newspaper");
                    checkBox11.setBackground(new Color(200, 205, 232));
                    checkBox11.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE3));
                    panel19.add(checkBox11, cc.xy(3, 7));

                    //---- checkBox15 ----
                    checkBox15.setText("Other conservation issue2");
                    checkBox15.setBackground(new Color(200, 205, 232));
                    checkBox15.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE7));
                    panel19.add(checkBox15, cc.xy(5, 7));

                    //---- checkBox12 ----
                    checkBox12.setText("Tape");
                    checkBox12.setBackground(new Color(200, 205, 232));
                    checkBox12.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE4));
                    panel19.add(checkBox12, cc.xy(3, 9));

                    //---- checkBox16 ----
                    checkBox16.setText("Other conservation issue3");
                    checkBox16.setBackground(new Color(200, 205, 232));
                    checkBox16.setText(ATFieldInfo.getLabel(Assessments.class,
                            Assessments.PROPERTYNAME_OTHER_CONSERVATION_ISSUE8));
                    panel19.add(checkBox16, cc.xy(5, 9));

                    //---- label27 ----
                    label27.setText("Conservation note");
                    ATFieldInfo.assignLabelTooltip(label27, Assessments.class,
                            Assessments.PROPERTYNAME_CONSERVATION_NOTE);
                    panel19.add(label27, cc.xywh(1, 11, 5, 1));
                }
                panel18.add(panel19, BorderLayout.NORTH);

                //======== scrollPane6 ========
                {

                    //---- textArea2 ----
                    textArea2.setColumns(25);
                    textArea2.setRows(8);
                    textArea2.setLineWrap(true);
                    scrollPane6.setViewportView(textArea2);
                }
                panel18.add(scrollPane6, BorderLayout.CENTER);
            }
            panel2.add(panel18, cc.xywh(5, 3, 1, 3));
        }
        tabbedPane1.addTab("Survey", panel2);

        //======== panel3 ========
        {
            panel3.setBackground(new Color(200, 205, 232));
            panel3.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) },
                    new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC,
                            new RowSpec(RowSpec.BOTTOM, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                            FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

            //======== panel20 ========
            {
                panel20.setBackground(new Color(200, 205, 232));
                panel20.setLayout(new FormLayout(
                        new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
                                new ColumnSpec(Sizes.dluX(88)) },
                        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 }));

                //---- label28 ----
                label28.setText("Special Formats");
                ATFieldInfo.assignLabelTooltip(label28, Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_FORMAT1);
                panel20.add(label28, cc.xywh(1, 1, 5, 1));

                //---- label29 ----
                label29.setText("Check all that apply");
                panel20.add(label29, cc.xywh(3, 3, 3, 1));

                //---- checkBox17 ----
                checkBox17.setText("Architectural materials");
                checkBox17.setBackground(new Color(200, 205, 232));
                checkBox17.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT1));
                panel20.add(checkBox17, cc.xy(3, 5));

                //---- checkBox25 ----
                checkBox25.setText("Glass");
                checkBox25.setBackground(new Color(200, 205, 232));
                checkBox25.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT9));
                panel20.add(checkBox25, cc.xy(5, 5));

                //---- checkBox18 ----
                checkBox18.setText("Art originals");
                checkBox18.setBackground(new Color(200, 205, 232));
                checkBox18.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT2));
                panel20.add(checkBox18, cc.xy(3, 7));

                //---- checkBox26 ----
                checkBox26.setText("Photographs");
                checkBox26.setBackground(new Color(200, 205, 232));
                checkBox26.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT10));
                panel20.add(checkBox26, cc.xy(5, 7));

                //---- checkBox19 ----
                checkBox19.setText("Artifacts");
                checkBox19.setBackground(new Color(200, 205, 232));
                checkBox19.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT3));
                panel20.add(checkBox19, cc.xy(3, 9));

                //---- checkBox27 ----
                checkBox27.setText("Scrapbooks");
                checkBox27.setBackground(new Color(200, 205, 232));
                checkBox27.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT11));
                panel20.add(checkBox27, cc.xy(5, 9));

                //---- checkBox20 ----
                checkBox20.setText("Audio materials");
                checkBox20.setBackground(new Color(200, 205, 232));
                checkBox20.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT4));
                panel20.add(checkBox20, cc.xy(3, 11));

                //---- checkBox28 ----
                checkBox28.setText("<html>Technical Drawings<br>& Schematics");
                checkBox28.setBackground(new Color(200, 205, 232));
                //checkBox28.setText(ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT12));
                panel20.add(checkBox28, cc.xy(5, 11));

                //---- checkBox21 ----
                checkBox21.setText("Biological specimens");
                checkBox21.setBackground(new Color(200, 205, 232));
                checkBox21.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT5));
                panel20.add(checkBox21, cc.xy(3, 13));

                //---- checkBox29 ----
                checkBox29.setText("Textiles");
                checkBox29.setBackground(new Color(200, 205, 232));
                checkBox29.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT13));
                panel20.add(checkBox29, cc.xy(5, 13));

                //---- checkBox22 ----
                checkBox22.setText("Botanical specimens");
                checkBox22.setBackground(new Color(200, 205, 232));
                checkBox22.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT6));
                panel20.add(checkBox22, cc.xy(3, 15));

                //---- checkBox30 ----
                checkBox30.setText("Vellum & Parchment");
                checkBox30.setBackground(new Color(200, 205, 232));
                //checkBox30.setText(ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT14));
                panel20.add(checkBox30, cc.xy(5, 15));

                //---- checkBox23 ----
                checkBox23.setText("Computer storage units");
                checkBox23.setBackground(new Color(200, 205, 232));
                checkBox23.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT7));
                panel20.add(checkBox23, cc.xy(3, 17));

                //---- checkBox31 ----
                checkBox31.setText("Video Materials");
                checkBox31.setBackground(new Color(200, 205, 232));
                checkBox31.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT15));
                panel20.add(checkBox31, cc.xy(5, 17));

                //---- checkBox24 ----
                checkBox24.setText("<html>Film (negative, slide, <br>or motion picture)");
                checkBox24.setBackground(new Color(200, 205, 232));
                //checkBox24.setText(ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT8));
                panel20.add(checkBox24, cc.xy(3, 19));

                //---- checkBox32 ----
                checkBox32.setText("Other");
                checkBox32.setBackground(new Color(200, 205, 232));
                checkBox32.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT16));
                panel20.add(checkBox32, cc.xy(5, 19));

                //---- checkBox33 ----
                checkBox33.setText("Special Format1");
                checkBox33.setBackground(new Color(200, 205, 232));
                checkBox33.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT17));
                panel20.add(checkBox33, cc.xy(3, 21));

                //---- checkBox34 ----
                checkBox34.setText("Special Format2");
                checkBox34.setBackground(new Color(200, 205, 232));
                checkBox34.setText(
                        ATFieldInfo.getLabel(Assessments.class, Assessments.PROPERTYNAME_SPECIAL_FORMAT18));
                panel20.add(checkBox34, cc.xy(5, 21));
            }
            panel3.add(panel20, cc.xywh(1, 1, 1, 3));

            //======== panel22 ========
            {
                panel22.setBackground(new Color(200, 205, 232));
                panel22.setLayout(new FormLayout("default:grow",
                        "fill:default, default, default:grow, bottom:default:grow"));

                //---- label31 ----
                label31.setText("Exhibition Value note");
                ATFieldInfo.assignLabelInfo(label31, Assessments.class,
                        Assessments.PROPERTYNAME_EXHIBITION_VALUE_NOTE);
                panel22.add(label31, cc.xy(1, 1));

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

                    //---- textArea4 ----
                    textArea4.setColumns(25);
                    textArea4.setRows(14);
                    textArea4.setLineWrap(true);
                    scrollPane8.setViewportView(textArea4);
                }
                panel22.add(scrollPane8, cc.xy(1, 2));

                //======== panel23 ========
                {
                    panel23.setBackground(new Color(200, 205, 232));
                    panel23.setLayout(new FormLayout(
                            new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC,
                                    FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC },
                            RowSpec.decodeSpecs("fill:default")));

                    //---- label32 ----
                    label32.setText("Monetary Value");
                    ATFieldInfo.assignLabelInfo(label32, Assessments.class,
                            Assessments.PROPERTYNAME_MONETARY_VALUE);
                    panel23.add(label32, cc.xy(1, 1));

                    //---- textField16 ----
                    textField16.setColumns(10);
                    panel23.add(textField16, cc.xy(3, 1));
                }
                panel22.add(panel23, cc.xy(1, 4));
            }
            panel3.add(panel22, cc.xywh(5, 1, 1, 3));

            //======== panel21 ========
            {
                panel21.setBackground(new Color(200, 205, 232));
                panel21.setLayout(new BorderLayout());

                //---- label30 ----
                label30.setText("Special Format note");
                label30.setBackground(new Color(200, 205, 232));
                ATFieldInfo.assignLabelInfo(label30, Assessments.class,
                        Assessments.PROPERTYNAME_SPECIAL_FORMAT_NOTE);
                panel21.add(label30, BorderLayout.NORTH);

                //======== scrollPane7 ========
                {

                    //---- textArea3 ----
                    textArea3.setColumns(25);
                    textArea3.setRows(8);
                    textArea3.setLineWrap(true);
                    scrollPane7.setViewportView(textArea3);
                }
                panel21.add(scrollPane7, BorderLayout.CENTER);
            }
            panel3.add(panel21, cc.xy(1, 5));

            //======== panel25 ========
            {
                panel25.setBackground(new Color(200, 205, 232));
                panel25.setLayout(new BorderLayout());

                //---- label33 ----
                label33.setText("Monetary Value note");
                ATFieldInfo.assignLabelInfo(label33, Assessments.class,
                        Assessments.PROPERTYNAME_MONETARY_VALUE_NOTE);
                panel25.add(label33, BorderLayout.NORTH);

                //======== scrollPane9 ========
                {

                    //---- textArea5 ----
                    textArea5.setColumns(25);
                    textArea5.setRows(8);
                    textArea5.setLineWrap(true);
                    scrollPane9.setViewportView(textArea5);
                }
                panel25.add(scrollPane9, BorderLayout.CENTER);
            }
            panel3.add(panel25, cc.xy(5, 5));
        }
        tabbedPane1.addTab("Special Formats & Values", panel3);

    }
    add(tabbedPane1, BorderLayout.CENTER);

    //======== panel4 ========
    {
        panel4.setBackground(new Color(200, 205, 232));
        panel4.setBorder(new EmptyBorder(0, 10, 0, 10));
        panel4.setLayout(new FlowLayout(FlowLayout.RIGHT));

        //---- label1 ----
        label1.setText("Assessment #");
        panel4.add(label1);

        //---- assessmentNumber ----
        assessmentNumber.setText("xxx");
        panel4.add(assessmentNumber);
    }
    add(panel4, BorderLayout.NORTH);
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}

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

License:Open Source License

private void initComponents() {
    // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
    // Generated using JFormDesigner non-commercial license
    label14 = new JLabel();
    scrollPane1 = new JScrollPane();
    noteContent = ATBasicComponentFactory.createTextArea(
            detailsModel.getModel(ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_NOTE_CONTENT), false);
    tagApplicatorPanel = new JPanel();
    insertInlineTag = ATBasicComponentFactory.createUnboundComboBox(InLineTagsUtils.getInLineTagList());
    CellConstraints cc = new CellConstraints();

    //======== this ========
    setBorder(Borders.DLU4_BORDER);/*  w w  w .j a  v  a  2  s . com*/
    setOpaque(false);
    setPreferredSize(new Dimension(600, 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[] { new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.DEFAULT_GROW),
                    FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC }));

    //---- label14 ----
    label14.setText("Text");
    label14.setVerticalAlignment(SwingConstants.TOP);
    label14.setFont(new Font("Trebuchet MS", Font.PLAIN, 13));
    ATFieldInfo.assignLabelInfo(label14, ArchDescriptionNotes.class,
            ArchDescriptionNotes.PROPERTYNAME_ARCH_DESCRIPTION_NOTE_CONTENT);
    add(label14, cc.xywh(1, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));

    //======== scrollPane1 ========
    {
        scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
        scrollPane1.setMaximumSize(new Dimension(32767, 100));

        //---- noteContent ----
        noteContent.setRows(20);
        noteContent.setLineWrap(true);
        noteContent.setTabSize(20);
        noteContent.setWrapStyleWord(true);
        scrollPane1.setViewportView(noteContent);
    }
    add(scrollPane1, cc.xywh(3, 1, 1, 1, CellConstraints.DEFAULT, CellConstraints.FILL));

    //======== 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));
    }
    add(tagApplicatorPanel, cc.xy(3, 3));
    // JFormDesigner - End of component initialization  //GEN-END:initComponents
}