super(s); setLayout(new FlowLayout()); list = new List(10, false); list.addItem("Hello"); list.addItem("Goodbye"); add(list);
System.out.println(e.target + "=" + (String)o); return true;
ListDemo l = new ListDemo("Up and down the list"); l.pack(); l.setVisible(true);