Пример #1
0
 /**
  * This method initializes jButton
  *
  * @return javax.swing.JButton
  */
 private JComboBoxFeatures getFeaturesComboBox() {
   if (jComboBoxFeatures == null) {
     // System.out.println("features."+features.size());
     jComboBoxFeatures = new JComboBoxFeatures(features.toArray(), null);
     jComboBoxFeatures.addActionListener(
         new java.awt.event.ActionListener() {
           public void actionPerformed(java.awt.event.ActionEvent e) {
             boxActionPerformed();
           }
         });
   }
   return jComboBoxFeatures;
 }