{
title = "Retrieved from " + database.getSelectedItem();
}
-
+ SequenceFeature[] sfs=null;
+ for (Enumeration sq=al.getSequences().elements(); sq.hasMoreElements();)
+ {
+ if ((sfs=((SequenceI)sq.nextElement()).getDatasetSequence().getSequenceFeatures())!=null)
+ {
+ if (sfs.length>0)
+ {
+ af.setShowSeqFeatures(true);
+ break;
+ }
+ }
+
+ }
Desktop.addInternalFrame(af, title, AlignFrame.DEFAULT_WIDTH,
AlignFrame.DEFAULT_HEIGHT);