Skip to content
Snippets Groups Projects
Commit c145dd0a authored by tcarver's avatar tcarver
Browse files

add SequenceComboBox(String sequenceNames[]) constructor

parent b5ed7aed
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ package uk.ac.sanger.artemis.components;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Vector;
import javax.swing.DefaultComboBoxModel;
......@@ -56,6 +57,11 @@ public abstract class SequenceComboBox extends JComboBox implements IndexReferen
});
}
public SequenceComboBox(String sequenceNames[])
{
this(new Vector<String>(Arrays.asList(sequenceNames)));
}
public void indexReferenceChanged(IndexReferenceEvent event)
{
final String contig =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment