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