private void initComponents()

in netbeansintegration/tags/3.0.2/src/org/openoffice/extensions/projecttemplates/actions/panel/PropsPanel.java [179:393]


    private void initComponents() {

        jLabelCurrentLocale = new javax.swing.JLabel();
        jComboBoxCurrentLocale = new javax.swing.JComboBox();
        jComboBoxDefaultLocale = new javax.swing.JComboBox();
        jLabelDefaultLocale = new javax.swing.JLabel();
        jLabelDisplayName = new javax.swing.JLabel();
        jLabelIcon = new javax.swing.JLabel();
        jLabelDescription = new javax.swing.JLabel();
        jLabelLicense = new javax.swing.JLabel();
        jSeparator1 = new javax.swing.JSeparator();
        jLabelPublisherName = new javax.swing.JLabel();
        jPanelDisplayName = createDisplayNamePanel();
        jButtonBrowseLicense = new javax.swing.JButton();
        jButtonBrowseIcon = new javax.swing.JButton();
        jLabelPublisherLink = new javax.swing.JLabel();
        jButtonBrowseDescription = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jRadioButtonUser = new javax.swing.JRadioButton();
        jRadioButtonAdmin = new javax.swing.JRadioButton();
        jPanel1 = createDescriptionPanel();
        jPanel2 = createLicensePanel();
        jPanel3 = createDefaultIconPanel();
        jPanel4 = createHighDefinitionIconPanel();
        jButtonBrowseHiDefIcon = new javax.swing.JButton();
        jLabelIcon1 = new javax.swing.JLabel();
        jErrorLabel = new javax.swing.JLabel();
        jPanelPublisherName = new org.openoffice.extensions.projecttemplates.actions.panel.SimpleEditPanel();
        jPanelPublisherLink = new org.openoffice.extensions.projecttemplates.actions.panel.SimpleEditPanel();

        jLabelCurrentLocale.setLabelFor(jComboBoxCurrentLocale);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelCurrentLocale, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelCurrentLocale.text")); // NOI18N

        jComboBoxCurrentLocale.setModel(createComboBoxModel()       );
        jComboBoxCurrentLocale.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jComboBoxCurrentLocaleActionPerformed(evt);
            }
        });

        jComboBoxDefaultLocale.setModel(createComboBoxModel());
        jComboBoxDefaultLocale.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jComboBoxDefaultLocaleActionPerformed(evt);
            }
        });

        jLabelDefaultLocale.setLabelFor(jComboBoxDefaultLocale);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelDefaultLocale, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelDefaultLocale.text")); // NOI18N

        jLabelDisplayName.setLabelFor(jPanelDisplayName);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelDisplayName, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelDisplayName.text")); // NOI18N

        jLabelIcon.setLabelFor(jPanel3);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelIcon, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelIcon.text")); // NOI18N

        jLabelDescription.setLabelFor(jPanel1);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelDescription, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelDescription.text")); // NOI18N

        jLabelLicense.setLabelFor(jPanel2);
        jLabelLicense.setText(org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelLicense.text")); // NOI18N

        jLabelPublisherName.setLabelFor(jPanelPublisherName);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelPublisherName, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelPublisherName.text")); // NOI18N

        jPanelDisplayName.setBackground(new java.awt.Color(255, 255, 255));

        org.openide.awt.Mnemonics.setLocalizedText(jButtonBrowseLicense, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.Browse.text2")); // NOI18N
        jButtonBrowseLicense.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonBrowseLicenseActionPerformed(evt);
            }
        });

        org.openide.awt.Mnemonics.setLocalizedText(jButtonBrowseIcon, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.Browse.text3")); // NOI18N
        jButtonBrowseIcon.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonBrowseIconActionPerformed(evt);
            }
        });

        jLabelPublisherLink.setLabelFor(jPanelPublisherLink);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelPublisherLink, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelPublisherLink.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jButtonBrowseDescription, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.Browse.text")); // NOI18N
        jButtonBrowseDescription.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonBrowseDescriptionActionPerformed(evt);
            }
        });

        jLabel1.setText(org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabel1.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jRadioButtonUser, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jRadioButtonUser.text")); // NOI18N

        org.openide.awt.Mnemonics.setLocalizedText(jRadioButtonAdmin, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jRadioButtonAdmin.text")); // NOI18N

        jPanel1.setBackground(new java.awt.Color(255, 255, 255));

        jPanel2.setBackground(new java.awt.Color(255, 255, 255));

        jPanel3.setBackground(new java.awt.Color(255, 255, 255));

        jPanel4.setBackground(new java.awt.Color(255, 255, 255));

        org.openide.awt.Mnemonics.setLocalizedText(jButtonBrowseHiDefIcon, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.Browse.text4")); // NOI18N
        jButtonBrowseHiDefIcon.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonBrowseHiDefIconActionPerformed(evt);
            }
        });

        jLabelIcon1.setLabelFor(jPanel4);
        org.openide.awt.Mnemonics.setLocalizedText(jLabelIcon1, org.openide.util.NbBundle.getMessage(PropsPanel.class, "PropsPanel.jLabelIcon1.text")); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 558, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelIcon1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelIcon, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelDescription, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelLicense, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelPublisherLink, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelPublisherName, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelCurrentLocale, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelDisplayName, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addComponent(jRadioButtonUser)
                        .addContainerGap())
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jComboBoxCurrentLocale, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 90, Short.MAX_VALUE)
                        .addComponent(jLabelDefaultLocale, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jComboBoxDefaultLocale, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
                            .addComponent(jRadioButtonAdmin, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
                            .addComponent(jPanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
                            .addComponent(jPanel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
                            .addComponent(jPanelDisplayName, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
                            .addComponent(jPanelPublisherName, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
                            .addComponent(jPanelPublisherLink, javax.swing.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jButtonBrowseLicense, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jButtonBrowseDescription, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jButtonBrowseHiDefIcon, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jButtonBrowseIcon, javax.swing.GroupLayout.Alignment.TRAILING)))))
            .addComponent(jErrorLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 558, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBoxDefaultLocale, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jComboBoxCurrentLocale, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelCurrentLocale)
                    .addComponent(jLabelDefaultLocale))
                .addGap(14, 14, 14)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanelDisplayName, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDisplayName))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jButtonBrowseDescription)
                        .addComponent(jLabelDescription))
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelPublisherName)
                    .addComponent(jPanelPublisherName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabelPublisherLink)
                    .addComponent(jPanelPublisherLink, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jButtonBrowseLicense)
                        .addComponent(jLabelLicense, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jRadioButtonUser)
                    .addComponent(jRadioButtonAdmin))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelIcon, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jButtonBrowseIcon))
                    .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabelIcon1)
                        .addComponent(jButtonBrowseHiDefIcon))
                    .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 49, Short.MAX_VALUE)
                .addComponent(jErrorLabel))
        );
    }// </editor-fold>//GEN-END:initComponents