private void boxActionPerformed() { // if (jComboBoxFeatures.getSelectedIndex()!=0){ // System.out.println("jComboBoxFeatures.getSelectedIndex()"+jComboBoxFeatures.getSelectedIndex()); GeopistaFeature feature = (GeopistaFeature) jComboBoxFeatures.getSelectedItem(); // if (feature!=null) // System.out.println("Feature es distinta de null"); // else // System.out.println("Feature es null"); documentExtendedForm.getInfoDocumentPanel().setFeature(feature); // featuresJComboBox.setText(""); // } }