+ if(newFeatures)
+ {
+ name.setText(lastFeatureAdded);
+ source.setText(lastFeatureGroupAdded);
+ }
+ else
+ {
+ name.setText(features[0].getType());
+ source.setText(features[0].getFeatureGroup());
+ }
+
+ start.setValue(new Integer(features[0].getBegin()));
+ end.setValue(new Integer(features[0].getEnd()));
+ description.setText(features[0].getDescription());
+ colour.setBackground(getColour(name.getText()));
+