private void factsAttributeListValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_factsAttributeListValueChanged
        //Redraw fact value combobox for new selected attribute, redraw information gain text field
        if(factsAttributeList.getSelectedValue() != null){
            factValue.removeAllItems();
            String attribute = factsAttributeList.getSelectedValue().toString();
            Feature currentFeature = featureDefinitions.find(attribute);
            List<Property> properties = currentFeature.getProperties();
            List<Fact> queryFacts = query.getFactList();
            String valueFact = "";
            if(!currentFeature.getType().equals("numeric")){
                factValue.setEditable(false);
                factValue.addItem("");
            }
            else{
                factValue.setEditable(true);
            }
            for(Fact f: queryFacts){
                if (f.getAttribute().equals(attribute)){
                    valueFact = f.getValue();
                }
            }
            for(Property p: properties){
                if(!currentFeature.getType().equals("numeric")){
                    factValue.addItem(p.getValue());
                }
            }
            factValue.setSelectedItem(valueFact);
            String infoGain = "" + currentFeature.getInformationGain();
            infoGainField.setText(infoGain);
        }
    }//GEN-LAST:event_factsAttributeListValueChanged