in netbeansintegration/tags/2.0.7/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
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jSeparator1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 558, Short.MAX_VALUE)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jLabelIcon1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(jLabelIcon, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabelDescription, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabelLicense, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabelPublisherLink, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabelPublisherName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabelCurrentLocale, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.add(jLabelDisplayName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
.add(jRadioButtonUser)
.addContainerGap())
.add(layout.createSequentialGroup()
.add(jComboBoxCurrentLocale, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 110, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 90, Short.MAX_VALUE)
.add(jLabelDefaultLocale, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 104, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jComboBoxDefaultLocale, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 110, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
.add(jRadioButtonAdmin, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 146, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
.add(jPanelDisplayName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
.add(jPanelPublisherName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
.add(jPanelPublisherLink, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE))
.add(18, 18, 18)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jButtonBrowseLicense)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jButtonBrowseDescription)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jButtonBrowseHiDefIcon)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jButtonBrowseIcon)))))
.add(jErrorLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 558, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jComboBoxDefaultLocale, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jComboBoxCurrentLocale, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabelCurrentLocale)
.add(jLabelDefaultLocale))
.add(14, 14, 14)
.add(jSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(jPanelDisplayName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabelDisplayName))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jButtonBrowseDescription)
.add(jLabelDescription))
.add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(jLabelPublisherName)
.add(jPanelPublisherName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(jLabelPublisherLink)
.add(jPanelPublisherLink, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jButtonBrowseLicense)
.add(jLabelLicense, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 24, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel1)
.add(jRadioButtonUser)
.add(jRadioButtonAdmin))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabelIcon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jButtonBrowseIcon))
.add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabelIcon1)
.add(jButtonBrowseHiDefIcon))
.add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 49, Short.MAX_VALUE)
.add(jErrorLabel))
);
}// </editor-fold>//GEN-END:initComponents