JAL-1807 update
[jalviewjs.git] / unused / appletgui / Choice.java
1 package jalview.appletgui;
2
3 import javax.swing.JComboBox;
4
5 public class Choice extends JComboBox {
6
7         public void select(String annotation) {
8                 // ? correct?
9                 setSelectedItem(annotation);
10         }
11
12         public void select(int i) {
13                 setSelectedIndex(i);
14         }
15
16 }