/Users/lyon/j4p/src/gui/htmlconverter/TargetControlPanel.java

1    package gui.htmlconverter; 
2     
3    import java.awt.*; 
4     
5    public class TargetControlPanel extends Panel { 
6     
7        Choice c; 
8     
9        TargetControlPanel() { 
10           c = new Choice(); 
11           c.addItem("Java"); 
12           c.addItem("C"); 
13           c.addItem("C++"); 
14           c.select("Java"); 
15           setLayout(new GridLayout(1, 3, 10, 10)); 
16           add(new Label("Input Language:", Label.LEFT)); 
17           add(c); 
18       } 
19    
20   } 
21    
22    
23