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

1    package gui.htmlconverter; 
2     
3    import java.awt.*; 
4     
5    public class FileControlField extends Panel { 
6     
7        TextField tf; 
8     
9        FileControlField(String str0, String str1) { 
10           tf = new TextField(str1, 31); 
11           setLayout(new GridLayout(2, 1)); 
12           add(new Label(str0, Label.LEFT)); 
13           add(tf); 
14       } 
15    
16       public String getText() { 
17           return tf.getText(); 
18       } 
19    
20       public void setText(String t) { 
21           tf.setText(t); 
22       } 
23    
24   } 
25