Label menu1, menu2, menu3;
// Create a menu using 'Labels'
menu1 = new Label("Choice 1 = draw colour graph");
menu2 = new Label("Choice 2 = draw colour pie chart");
menu3 = new Label("Choice 3 = print colour table");
add(menu1);
add(menu2);
add(menu3);
input = new TextField(10);
add (input);
// addActionListener will cause the routine 'actionPerformed' to be invoked
// when new data is entered in the textfield...
input.addActionListener(this);